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 <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20240806114931.40090-2-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2f3e2c9 commit 5592227

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)