Skip to contentSkip to conversation

arm64: dts: rockchip: Lower sd speed on quartz64-b

PATCH Applied Nicolas Frattaroli 3 participants 4 messages Jul 21, 2022 – Aug 23, 2022

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

PATCH 1/1 arm64: dts: rockchip: Lower sd speed on quartz64-b

The previously stated speed of sdr-104 is too high for the hardware to reliably communicate with some fast SD cards.

Lower this to sd-uhs-sdr50 to fix this.

Fixes dcc8c66bef79 ("arm64: dts: rockchip: add Pine64 Quartz64-B device tree")
---
 arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts +1 -1
index 02d5f5a8ca03..528bb4e8ac77 100644
@@ -506,7 +506,7 @@ &sdmmc0 {
 	disable-wp;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
-	sd-uhs-sdr104;
+	sd-uhs-sdr50;
 	vmmc-supply = <&vcc3v3_sd>;
 	vqmmc-supply = <&vccio_sd>;
 	status = "okay";
Signature · 1 line
2.37.1
Tested-by on v1 1/1
#1 lore raw
Quoted 5 lines · Nicolas Frattaroli

The previously stated speed of sdr-104 is too high for the hardware to reliably communicate with some fast SD cards.

Lower this to sd-uhs-sdr50 to fix this.

I can confirm this is necessary. Thanks!

Quoted 24 lines
Fixes dcc8c66bef79 ("arm64: dts: rockchip: add Pine64 Quartz64-B device tree")
---
 arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts +1 -2
index 02d5f5a8ca03..528bb4e8ac77 100644
@@ -506,7 +506,7 @@ &sdmmc0 {
        disable-wp;
        pinctrl-names = "default";
        pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
-       sd-uhs-sdr104;
+       sd-uhs-sdr50;
        vmmc-supply = <&vcc3v3_sd>;
        vqmmc-supply = <&vccio_sd>;
        status = "okay";
--

2.37.1

#2 lore raw
In reply to Nicolas Frattaroli
Quoted 18 lines · On Donnerstag, 21. Juli 2022 06:43:06 CEST Nicolas Frattaroli wrote:

The previously stated speed of sdr-104 is too high for the hardware to reliably communicate with some fast SD cards.

Lower this to sd-uhs-sdr50 to fix this.

Fixes dcc8c66bef79 ("arm64: dts: rockchip: add Pine64 Quartz64-B device tree")
---
 arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts +0 -0
index 02d5f5a8ca03..528bb4e8ac77 100644

arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts &sdmmc0 { · line 512

Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts +1 -1
@@ -506,7 +506,7 @@ &sdmmc0 {
 	disable-wp;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
-	sd-uhs-sdr104;
+	sd-uhs-sdr50;
 	vmmc-supply = <&vcc3v3_sd>;
 	vqmmc-supply = <&vccio_sd>;
 	status = "okay";

Please apply. Thank you!

maintainer Applied
#3 lore raw
In reply to Nicolas Frattaroli
Quoted 6 lines · Nicolas Frattaroli

The previously stated speed of sdr-104 is too high for the hardware to reliably communicate with some fast SD cards.

Lower this to sd-uhs-sdr50 to fix this.

Fixes dcc8c66bef79 ("arm64: dts: rockchip: add Pine64 Quartz64-B device tree")

Applied, thanks!

[1/1] arm64: dts: rockchip: Lower sd speed on quartz64-b

      commit: 1ea90b2d293fd8b1f3377c9ed08364ff6f2a8562

Best regards,

Signature · 6 lines
Heiko Stuebner <[email protected]>

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel