Message ID | 20221027074652.1044235-1-dmitry.torokhov@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> 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 <rfc822;chrisfriedt@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <dmitry.torokhov@gmail.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Mark Brown <broonie@kernel.org> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Banajit Goswami <bgoswami@quicinc.com>, Konrad Dybcio <konrad.dybcio@somainline.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, 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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> 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?= |
Series |
[1/6] arm64: dts: qcom: msm8996: fix sound card reset line polarity
|
|
Commit Message
Dmitry Torokhov
Oct. 27, 2022, 7:46 a.m. UTC
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 <dmitry.torokhov@gmail.com>
---
arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, 27 Oct 2022 00:46:47 -0700, Dmitry Torokhov wrote: > 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. > > Applied, thanks! [1/6] arm64: dts: qcom: msm8996: fix sound card reset line polarity commit: 76d21ffc5d425bf7ea9888652c49d7dbda15f356 [3/6] arm64: dts: qcom: sm8250-mtp: fix reset line polarity commit: 15d9fcbb3e6e8420c7d1ae331405780c5d9c1c25 [4/6] arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 3.0/3.1 commit: 1caf66104c02d327a2467a69ab18fb24b44e9715 [5/6] arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 1.0/2.0 commit: b8f298d4f69d82119ac0d22809a17c80b1f188d1 Best regards,
On Thu, 27 Oct 2022 00:46:47 -0700, Dmitry Torokhov wrote: > 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. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [2/6] ASoC: dt-bindings: wcd9335: fix reset line polarity in example commit: 34cb111f8a7b98b5fec809dd194003bca20ef1b2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
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>;