Skip to content

Commit 5592227

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,11 @@ additionalProperties: false
199199

200200
examples:
201201
- |
202+
#include <dt-bindings/gpio/gpio.h>
202203
codec@1,0{
203204
compatible = "slim217,250";
204205
reg = <1 0>;
205-
reset-gpios = <&tlmm 64 0>;
206+
reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
206207
slim-ifc-dev = <&wcd9340_ifd>;
207208
#sound-dai-cells = <1>;
208209
interrupt-parent = <&tlmm>;

0 commit comments

Comments
 (0)