Re: [PATCH 1/5] ARM: dts: qcom: msm8960: add sdcc3 pinctrl states

From: Konrad Dybcio
Date: Sat Jun 14 2025 - 14:31:06 EST


On 6/13/25 7:50 PM, Antony Kurniawan Soemardi wrote:
> 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@xxxxxxxxx>
> Signed-off-by: Antony Kurniawan Soemardi <linux@xxxxxxxxxxxxxx>
> ---
> arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi | 38 ++++++++++++++++++++++
> .../dts/qcom/qcom-msm8960-samsung-expressatt.dts | 5 +++
> 2 files changed, 43 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi
> index 4fa98277128897a531c54296576a6f15cd6d2a28..77fe5be24b36fbda83ba73034939db10db6ef4c8 100644
> --- a/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi
> +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi
> @@ -18,4 +18,42 @@ 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>;
> + };
> +
> + data-pins {
> + pins = "sdc3_data";
> + drive-strength = <2>;

Please add bias-pull-up to these two as well, just to be explicit

Konrad