Skip to content

Commit 4ded915

Browse files
krzkandersson
authored andcommitted
arm64: dts: qcom: sm8250-mtp: 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 5b91fab commit 4ded915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/boot/dts/qcom/sm8250-mtp.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@
764764
left_spkr: speaker@0,3 {
765765
compatible = "sdw10217211000";
766766
reg = <0 3>;
767-
powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>;
767+
powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>;
768768
#thermal-sensor-cells = <0>;
769769
sound-name-prefix = "SpkrLeft";
770770
#sound-dai-cells = <0>;
@@ -773,7 +773,7 @@
773773
right_spkr: speaker@0,4 {
774774
compatible = "sdw10217211000";
775775
reg = <0 4>;
776-
powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_HIGH>;
776+
powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_LOW>;
777777
#thermal-sensor-cells = <0>;
778778
sound-name-prefix = "SpkrRight";
779779
#sound-dai-cells = <0>;

0 commit comments

Comments
 (0)