arm64: dts: qcom: sc7180-trogdor-homestar: fully configure secondary I2S pins
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 20 Oct 2022 22:51:33 +0000 (18:51 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:31:48 +0000 (13:31 +0100)
[ Upstream commit 59e787935cfe6f562fbb9117e2df4076eaf810d8 ]

The Trogdor Homestar DTSI adds additional GPIO52 pin to secondary I2S pins
("sec_mi2s_active") and configures it to "mi2s_1" function.

The Trogdor DTSI (which is included by Homestar) configures drive
strength and bias for all "sec_mi2s_active" pins, thus the intention was
to apply this configuration also to GPIO52 on Homestar.

Reported-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fixes: be0416a3f917 ("arm64: dts: qcom: Add sc7180-trogdor-homestar")
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221020225135.31750-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi

index 1bd6c7d..bfab67f 100644 (file)
@@ -194,6 +194,12 @@ ap_ts_pen_1v8: &i2c4 {
                pins = "gpio49", "gpio50", "gpio51", "gpio52";
                function = "mi2s_1";
        };
+
+       pinconf {
+               pins = "gpio49", "gpio50", "gpio51", "gpio52";
+               drive-strength = <2>;
+               bias-pull-down;
+       };
 };
 
 &ts_reset_l {