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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)