Skip to content

Commit 5b91fab

Browse files
krzkandersson
authored andcommitted
arm64: dts: qcom: sdm850-samsung-w737: Use proper WSA881x shutdown GPIO polarity
The WSA881x shutdown GPIO is active low (SD_N), but Linux driver assumed DTS always comes with active high. Since Linux drivers were updated to handle proper flag, correct the DTS. The change is not backwards compatible with older Linux kernel. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a246c20 commit 5b91fab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,15 +662,15 @@
662662
left_spkr: speaker@0,3 {
663663
compatible = "sdw10217211000";
664664
reg = <0 3>;
665-
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
665+
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
666666
#thermal-sensor-cells = <0>;
667667
sound-name-prefix = "SpkrLeft";
668668
#sound-dai-cells = <0>;
669669
};
670670

671671
right_spkr: speaker@0,4 {
672672
compatible = "sdw10217211000";
673-
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>;
673+
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
674674
reg = <0 4>;
675675
#thermal-sensor-cells = <0>;
676676
sound-name-prefix = "SpkrRight";

0 commit comments

Comments
 (0)