Skip to content

Commit 871f1a1

Browse files
krzkbroonie
authored andcommitted
ASoC: dt-bindings: qcom,wcd938x: Correct reset GPIO polarity in example
The reset GPIO of WCD9380/WCD9385 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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 5592227 commit 871f1a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ unevaluatedProperties: false
3434

3535
examples:
3636
- |
37+
#include <dt-bindings/gpio/gpio.h>
3738
codec {
3839
compatible = "qcom,wcd9380-codec";
39-
reset-gpios = <&tlmm 32 0>;
40+
reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
4041
#sound-dai-cells = <1>;
4142
qcom,tx-device = <&wcd938x_tx>;
4243
qcom,rx-device = <&wcd938x_rx>;

0 commit comments

Comments
 (0)