ARM: dts: qcom: msm8960: add sdcc3 pinctrl states

Adds sdcc3-default-state and sdcc3-sleep-state pinctrl states for
MSM8960. These are required for devices like Sony Xperia SP to ensure
micro SD card functionality, though they are a no-op on the Samsung
Galaxy Express.

Tested-by: Rudraksha Gupta <guptarud@gmail.com>
Signed-off-by: Antony Kurniawan Soemardi <linux@smankusors.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250623-msm8960-sdcard-v2-1-340a5e8f7df0@smankusors.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Antony Kurniawan Soemardi 2025-06-22 18:26:38 +00:00 committed by Bjorn Andersson
parent 8f5ae30d69
commit b261da9e9e
2 changed files with 45 additions and 0 deletions

View File

@ -18,4 +18,44 @@ i2c3-pins {
bias-bus-hold;
};
};
sdcc3_default_state: sdcc3-default-state {
clk-pins {
pins = "sdc3_clk";
drive-strength = <8>;
bias-disable;
};
cmd-pins {
pins = "sdc3_cmd";
drive-strength = <8>;
bias-pull-up;
};
data-pins {
pins = "sdc3_data";
drive-strength = <8>;
bias-pull-up;
};
};
sdcc3_sleep_state: sdcc3-sleep-state {
clk-pins {
pins = "sdc3_clk";
drive-strength = <2>;
bias-disable;
};
cmd-pins {
pins = "sdc3_cmd";
drive-strength = <2>;
bias-pull-up;
};
data-pins {
pins = "sdc3_data";
drive-strength = <2>;
bias-pull-up;
};
};
};

View File

@ -71,6 +71,11 @@ &sdcc1 {
&sdcc3 {
vmmc-supply = <&pm8921_l6>;
vqmmc-supply = <&pm8921_l7>;
pinctrl-0 = <&sdcc3_default_state>;
pinctrl-1 = <&sdcc3_sleep_state>;
pinctrl-names = "default", "sleep";
status = "okay";
};