Skip to content

Commit

Permalink
arm64: dts: qcom: sc7180-trogdor-homestar: fully configure secondary …
Browse files Browse the repository at this point in the history
…I2S pins

[ Upstream commit 59e7879 ]

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: be0416a ("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>
  • Loading branch information
krzk authored and gregkh committed Dec 31, 2022
1 parent aceaa75 commit 9172498
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9172498

Please sign in to comment.