diff options
author | 2024-08-06 13:49:31 +0200 | |
---|---|---|
committer | 2024-08-08 20:34:53 +0100 | |
commit | 81f88fddef9cddae6b4e5d9359022c7a2a3e3b6a (patch) | |
tree | c1bc36968f0940fdfd71ec09870a399ba3b37ade /Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml | |
parent | ASoC: dt-bindings: qcom,wcd938x: Correct reset GPIO polarity in example (diff) | |
download | wireguard-linux-81f88fddef9cddae6b4e5d9359022c7a2a3e3b6a.tar.xz wireguard-linux-81f88fddef9cddae6b4e5d9359022c7a2a3e3b6a.zip |
ASoC: dt-bindings: qcom,wcd939x: Correct reset GPIO polarity in example
The reset GPIO of WCD9390/WCD9395 is active low and that's how it is
routed on typical boards, so correct the example DTS to use expected
polarity, instead of IRQ flag (which is a logical mistake on its own).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240806114931.40090-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml index 6e76f6a8634f..c69291f4d575 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml @@ -52,10 +52,10 @@ unevaluatedProperties: false examples: - | - #include <dt-bindings/interrupt-controller/irq.h> + #include <dt-bindings/gpio/gpio.h> codec { compatible = "qcom,wcd9390-codec"; - reset-gpios = <&tlmm 32 IRQ_TYPE_NONE>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; #sound-dai-cells = <1>; qcom,tx-device = <&wcd939x_tx>; qcom,rx-device = <&wcd939x_rx>; |