Skip to content

Commit a246c20

Browse files
krzkandersson
authored andcommitted
arm64: dts: qcom: sdm850-lenovo-yoga-c630: 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 07b0883 commit a246c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,15 +753,15 @@
753753
left_spkr: speaker@0,3 {
754754
compatible = "sdw10217211000";
755755
reg = <0 3>;
756-
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
756+
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
757757
#thermal-sensor-cells = <0>;
758758
sound-name-prefix = "SpkrLeft";
759759
#sound-dai-cells = <0>;
760760
};
761761

762762
right_spkr: speaker@0,4 {
763763
compatible = "sdw10217211000";
764-
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>;
764+
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
765765
reg = <0 4>;
766766
#thermal-sensor-cells = <0>;
767767
sound-name-prefix = "SpkrRight";

0 commit comments

Comments
 (0)