]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: dt-bindings: wcd9335: fix reset line polarity in example
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 27 Oct 2022 07:46:48 +0000 (00:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:06 +0000 (11:41 +0100)
[ Upstream commit 34cb111f8a7b98b5fec809dd194003bca20ef1b2 ]

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".

Fixes: ef5572f0256c ("ASoC: dt-bindings: add dt bindings for wcd9335 audio codec")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221027074652.1044235-2-dmitry.torokhov@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/devicetree/bindings/sound/qcom,wcd9335.txt

index 5d6ea66a863fe2e46c2f8ca292d941dcded61a65..1f75feec3dec683bb40d4de930cb8fef94e644e3 100644 (file)
@@ -109,7 +109,7 @@ audio-codec@1{
        reg  = <1 0>;
        interrupts = <&msmgpio 54 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "intr2"
-       reset-gpios = <&msmgpio 64 0>;
+       reset-gpios = <&msmgpio 64 GPIO_ACTIVE_LOW>;
        slim-ifc-dev  = <&wc9335_ifd>;
        clock-names = "mclk", "native";
        clocks = <&rpmcc RPM_SMD_DIV_CLK1>,