Skip to contentSkip to conversation

arm64: dts: qcom: qrb5165-rb5: fix uSD pins drive strength

PATCH Applied Dmitry Baryshkov 2 participants 2 messages Dec 17, 2020 – Jan 15, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: qrb5165-rb5: fix uSD pins drive strength

Lower drive strength for microSD data and CMD pins from 16 to 10. This fixes spurious card removal issues observed on some boards. Also this change allows us to re-enable 1.8V support, which seems to work with lowered drive strength.

Cc Veerabhadrarao Badiganti <[email protected]>
Fixes 53a8ccf1c7e5 ("arm64: dts: qcom: rb5: Add support for uSD card")
---
 arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +2 -4
index f3da4b0a63bc..3cb3914b8305 100644
@@ -1081,8 +1081,6 @@ &sdhc_2 {
 	vqmmc-supply = <&vreg_l6c_2p96>;
 	cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
 	bus-width = <4>;
-	/* there seem to be issues with HS400-1.8V mode, so disable it */
-	no-1-8-v;
 	no-sdio;
 	no-emmc;
 };
@@ -1382,13 +1380,13 @@ clk {
 		cmd {
 			pins = "sdc2_cmd";
 			bias-pull-up;
-			drive-strength = <16>;
+			drive-strength = <10>;
 		};
 
 		data {
 			pins = "sdc2_data";
 			bias-pull-up;
-			drive-strength = <16>;
+			drive-strength = <10>;
 		};
 	};
 
Signature · 1 line
2.29.2
#1 lore raw
This patch was applied to qcom/linux.git (refs/heads/for-next):

Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

Quoted 10 lines · On Thu, 17 Dec 2020 21:33:41 +0300 you wrote:

Lower drive strength for microSD data and CMD pins from 16 to 10. This fixes spurious card removal issues observed on some boards. Also this change allows us to re-enable 1.8V support, which seems to work with lowered drive strength.

Cc Veerabhadrarao Badiganti <[email protected]>
Fixes 53a8ccf1c7e5 ("arm64: dts: qcom: rb5: Add support for uSD card")

[...]

Here is the summary with links:
- arm64: dts: qcom: qrb5165-rb5: fix uSD pins drive strength

    https://git.kernel.org/qcom/c/abf2c58aaa77

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html