arm64: dts: qcom: msm8996: fix sound card reset line polarity
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 27 Oct 2022 07:46:47 +0000 (00:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:31:49 +0000 (13:31 +0100)
[ Upstream commit 76d21ffc5d425bf7ea9888652c49d7dbda15f356 ]

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>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221027074652.1044235-1-dmitry.torokhov@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 67f0167..1107bef 100644 (file)
                                        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>;