Commit 5b91fab8 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230322193051.826167-3-krzysztof.kozlowski@linaro.org
parent a246c20c
...@@ -662,7 +662,7 @@ swm: swm@c85 { ...@@ -662,7 +662,7 @@ swm: swm@c85 {
left_spkr: speaker@0,3 { left_spkr: speaker@0,3 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
reg = <0 3>; reg = <0 3>;
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrLeft"; sound-name-prefix = "SpkrLeft";
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
...@@ -670,7 +670,7 @@ left_spkr: speaker@0,3 { ...@@ -670,7 +670,7 @@ left_spkr: speaker@0,3 {
right_spkr: speaker@0,4 { right_spkr: speaker@0,4 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
reg = <0 4>; reg = <0 4>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrRight"; sound-name-prefix = "SpkrRight";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment