arm64: dts: qcom: sm8250-mtp: fix reset line polarity
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 27 Oct 2022 07:46:49 +0000 (00:46 -0700)
committerBjorn Andersson <andersson@kernel.org>
Mon, 7 Nov 2022 03:11:10 +0000 (21:11 -0600)
The driver for the codec, when resetting the chip, first drives the line
low, and then high. This means that the line is active low. Change the
annotation in the DTS accordingly.

Fixes: 36c9d012f193 ("arm64: dts: qcom: use GPIO flags for tlmm")
Fixes: 5a263cf629a8 ("arm64: dts: qcom: sm8250-mtp: Add wcd9380 audio codec node")
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-3-dmitry.torokhov@gmail.com
arch/arm64/boot/dts/qcom/sm8250-mtp.dts

index 9db6136321b42a681ad0ed9b89eb812c9462e031..391806c62ccca618527a026c5448e89d1b69ef1b 100644 (file)
        wcd938x: codec {
                compatible = "qcom,wcd9380-codec";
                #sound-dai-cells = <1>;
-               reset-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
                vdd-buck-supply = <&vreg_s4a_1p8>;
                vdd-rxtx-supply = <&vreg_s4a_1p8>;
                vdd-io-supply = <&vreg_s4a_1p8>;