Skip to content

Commit 81f88fd

Browse files
krzkbroonie
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 871f1a1 commit 81f88fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ unevaluatedProperties: false
5252

5353
examples:
5454
- |
55-
#include <dt-bindings/interrupt-controller/irq.h>
55+
#include <dt-bindings/gpio/gpio.h>
5656
codec {
5757
compatible = "qcom,wcd9390-codec";
58-
reset-gpios = <&tlmm 32 IRQ_TYPE_NONE>;
58+
reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
5959
#sound-dai-cells = <1>;
6060
qcom,tx-device = <&wcd939x_tx>;
6161
qcom,rx-device = <&wcd939x_rx>;

0 commit comments

Comments
 (0)