]> www.infradead.org Git - users/willy/xarray.git/commitdiff
ASoC: dt-bindings: qcom,wcd934x: Correct reset GPIO polarity in example
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 6 Aug 2024 11:49:29 +0000 (13:49 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 8 Aug 2024 19:34:52 +0000 (20:34 +0100)
The reset GPIO of WCD9340/WCD9341 is active low and that's how it is
routed on typical boards, so correct the example DTS to use expected
polarity.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240806114931.40090-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml

index beb0ff0245b0ab84477b282243d9ce43c633c078..a65b1d1d5fdd9c50de429998f0d23c2fbbffa369 100644 (file)
@@ -199,10 +199,11 @@ additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/gpio/gpio.h>
     codec@1,0{
         compatible = "slim217,250";
         reg = <1 0>;
-        reset-gpios = <&tlmm 64 0>;
+        reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
         slim-ifc-dev = <&wcd9340_ifd>;
         #sound-dai-cells = <1>;
         interrupt-parent = <&tlmm>;