From patchwork Thu Oct 27 07:46:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 11631 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp89714wru; Thu, 27 Oct 2022 00:49:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4W3gqyk/b1joYzszyHsnmP2ZEmj1VS1/qx/FBixB6Hea4JbEocWlpTReIuagYgLct6I3O5 X-Received: by 2002:a63:350:0:b0:44c:2476:12ff with SMTP id 77-20020a630350000000b0044c247612ffmr6460438pgd.50.1666856995912; Thu, 27 Oct 2022 00:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666856995; cv=none; d=google.com; s=arc-20160816; b=gJGRCNCRujSF5lrB6FdCrtJ9fnTPb0J0lBAdIgs6/3UodX7gP7PjXO9k91m49WtbcP Jdi1pqKkMrCpL0pjEKXh8BK8eYMF5U1yeuFz/vnPC6kCkZvkjJZn6Z0vIzpHYHSTYeB9 8VXyxZJDzcYBxB67lOwJ1TD96aIrJk6ZdvGtoCkgCbq9whZ2+1vlfiN35SQEGP/ZgW/a QTe5p16k9ONu/9WQuswLlxqur/X5hsBEmAEN4FtQTyAotWgNfldpz0HDv+HBl/v8g+1g ZXKdSmPLppSo+Sh2zFH1RkgZ22Sfqzh8spWT4MAWe6dKOqjWcKTQH6uwOrcv0sdA1M4k nisQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=7eZPMxhWXLAdP7JOTovMyPi4TE0q0a0Jvomoy/MT8tw=; b=LvbPvsnqVmabjLDwNagKIlsYcZVh3xJ3esf/GusVPHqE8eHqaefQJq2bKvphlhBmqL 9L0IzvIQi4O4pPmcE3mX25U0Z9YDhPdigb6Wwl2XGBjwNU2X+UXtrJ6rAPlNxtYw0gMm U8ptRcVoYNKXzJWSsIJQ3hWnoECpuysZvIj/P8B4Ijjll76GiIsT0VbCCwIOuQRo3RMn iA6xB40uAT7aRHNxVbvcXFPuYShChREmh5O6WZhLEGFPwhTizjnr3sg+rJLm5msZNR4s /8gU7FrH038uTtUmGZd5dxJ2mHJ/VZOLpyqLIaHCwGmCafOV/VQySxA9WSHQziJ69jET VvBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Vsy6ZN8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iz14-20020a170902ef8e00b0018685c559a1si709368plb.383.2022.10.27.00.49.43; Thu, 27 Oct 2022 00:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Vsy6ZN8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234810AbiJ0HrD (ORCPT + 99 others); Thu, 27 Oct 2022 03:47:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233099AbiJ0Hq7 (ORCPT ); Thu, 27 Oct 2022 03:46:59 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78ECC168E71; Thu, 27 Oct 2022 00:46:56 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id f9so552802pgj.2; Thu, 27 Oct 2022 00:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7eZPMxhWXLAdP7JOTovMyPi4TE0q0a0Jvomoy/MT8tw=; b=Vsy6ZN8gN8QvBnQr03269m+9k5zizOLHe3hBf79CANsb7LyA1/zH+HWj36gdXoFvKc SwuDRXtPoL9x9kVL66wnByKZD7iHRkU8jwhYQCNQTVuvqx9M4+JGove6EnxQNXu0oLwO fmK4M9lsIlIUnid+HyTKRSs9twfGen+mJp2tlnAgELiuLZjL4aCP1pIkg3EoAg+94TPB 8SHEHdF9cLSjCKo0oah8Jlua5t6SuZS9Wscgnd41JoO98l/WYemMKVf1kYw+tY8Gn7cG r5EZ93OaCsFVhSEZ7yd/HN8d/k71cLbR7K1kEtehFPiwh8Rks2syPRj4UYTs9PJ6lgJC 5o1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7eZPMxhWXLAdP7JOTovMyPi4TE0q0a0Jvomoy/MT8tw=; b=bjgqyJAkC8m9K4HMr3w748JBrD38gWVqRM8+xsUXKtU1haDro+C0fTHAd90X+1DPwA h4Vtnzqpe7ydklwWkrOw3Ov3hLoyjY6dCxUSx+Dp5BMX+1PpIg5kMTIZUjOskiCwHtuA Scj/s2hHtW7fl8o4wUsWzrnWoeYOLd/kXNOUy2+ZabI3SFkzhmtIXSgzmUA/BOKwRIh2 OEQ9y5Id4U44PLs2XGCCFiz2aEAmmhkcWQLu/IiLBOpfoWQuLvmpBGNVezF/nH4cnvEH 9znhYp2gyfArsKDjQsGqyCLoUWnLb4VfDY8qz6KAg6UrdZw/Jjpv8bz5MtGb01baMsCx qIog== X-Gm-Message-State: ACrzQf09VuBZ11fH9rOKfD2bL4x6ok2I9ft/2iiZXPxV+DgXpEj/kuRT Sf7QlWZcIV0TdykBrDXauVE= X-Received: by 2002:a63:194b:0:b0:457:7295:8de0 with SMTP id 11-20020a63194b000000b0045772958de0mr41849875pgz.612.1666856815733; Thu, 27 Oct 2022 00:46:55 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:9d:2:99d6:ae15:f9aa:1819]) by smtp.gmail.com with ESMTPSA id i4-20020a056a00004400b0056ba02feda1sm611386pfk.94.2022.10.27.00.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 00:46:55 -0700 (PDT) From: Dmitry Torokhov To: Andy Gross , Bjorn Andersson , Mark Brown Cc: Srinivas Kandagatla , Banajit Goswami , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] arm64: dts: qcom: msm8996: fix sound card reset line polarity Date: Thu, 27 Oct 2022 00:46:47 -0700 Message-Id: <20221027074652.1044235-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.38.0.135.g90850a2211-goog MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747826241316802665?= X-GMAIL-MSGID: =?utf-8?q?1747826241316802665?= When resetting the block, the reset line is being driven low and then high, which means that the line in DTS should be annotated as "active low". It will become important when wcd9335 driver will be converted to gpiod API that respects declared line polarities. Fixes: f3eb39a55a1f ("arm64: dts: db820c: Add sound card support") Signed-off-by: Dmitry Torokhov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 5ff8de3e3de7..d5271718d03c 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3354,7 +3354,7 @@ wcd9335: codec@1,0 { interrupt-names = "intr1", "intr2"; interrupt-controller; #interrupt-cells = <1>; - reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; slim-ifc-dev = <&tasha_ifd>;