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)
committerBjorn Andersson <andersson@kernel.org>
Mon, 7 Nov 2022 03:11:10 +0000 (21:11 -0600)
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
arch/arm64/boot/dts/qcom/msm8996.dtsi

index de2af2b23d7b54f2fce4c26d2aa6a0fd78fac0bf..7cd33f723da65804b6ae33222086fad3fce8401b 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>;