Skip to contentSkip to conversation

arm64: dts: rockchip: Lower sd speed on soquartz

PATCH Applied Dan Johansen 3 participants 4 messages Mar 4, 2023 – Mar 7, 2023

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

PATCH 1/1 arm64: dts: rockchip: Lower sd speed on soquartz

Just like the Quartz64 Model B the previously stated speed of sdr-104 in soquartz is too high for the hardware to reliably communicate with some fast SD cards.
Especially on some carrierboards.

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

Fixes 5859b5a9c3ac ("arm64: dts: rockchip: add SoQuartz CM4IO dts")
---
 arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi +1 -1
index ce7165d7f1a1..102e448bc026 100644
@@ -598,7 +598,7 @@ &sdmmc1 {
 	non-removable;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
-	sd-uhs-sdr104;
+	sd-uhs-sdr50;
 	vmmc-supply = <&vcc3v3_sys>;
 	vqmmc-supply = <&vcc_1v8>;
 	status = "okay";
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Dan Johansen

Just like the Quartz64 Model B the previously stated speed of sdr-104 in soquartz is too high for the hardware to reliably communicate with some fast SD cards.
Especially on some carrierboards.

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

Fixes 5859b5a9c3ac ("arm64: dts: rockchip: add SoQuartz CM4IO dts")

Makes sense, considering the problems we're having with other boards. We should probably stop using sdr104 altogether on Rockchip, at least until they release a chip that improves on the limitations of pinctrl speed. Considering the frequency cap it isn't that much of a hit.

Quoted 21 lines
---
 arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi +1 -2
index ce7165d7f1a1..102e448bc026 100644
@@ -598,7 +598,7 @@ &sdmmc1 {
        non-removable;
        pinctrl-names = "default";
        pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
-       sd-uhs-sdr104;
+       sd-uhs-sdr50;
        vmmc-supply = <&vcc3v3_sys>;
        vqmmc-supply = <&vcc_1v8>;
        status = "okay";
--

2.39.2

Quoted 4 lines

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

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

#2 lore raw

Den 05.03.2023 kl. 14.43 skrev Peter Geis:

Quoted 8 lines · Dan Johansen
Quoted 7 lines

Just like the Quartz64 Model B the previously stated speed of sdr-104 in soquartz is too high for the hardware to reliably communicate with some fast SD cards.
Especially on some carrierboards.

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

Quoted 7 lines
Quoted 3 lines
Fixes 5859b5a9c3ac ("arm64: dts: rockchip: add SoQuartz CM4IO dts")

Makes sense, considering the problems we're having with other boards. We should probably stop using sdr104 altogether on Rockchip, at least until they release a chip that improves on the limitations of pinctrl speed. Considering the frequency cap it isn't that much of a hit.

I agree, better have a safe default.

Quoted 2 lines

Thank you for the Ack.

Quoted 30 lines
Quoted 22 lines
---
  arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi +1 -2
index ce7165d7f1a1..102e448bc026 100644
@@ -598,7 +598,7 @@ &sdmmc1 {
         non-removable;
         pinctrl-names = "default";
         pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
-       sd-uhs-sdr104;
+       sd-uhs-sdr50;
         vmmc-supply = <&vcc3v3_sys>;
         vqmmc-supply = <&vcc_1v8>;
         status = "okay";
--

2.39.2

Quoted 4 lines

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

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

Signature · 4 lines
Kind regards
*Dan Johansen*
Project lead of the *Manjaro ARM* project
Manjaro-ARM <https://manjaro.org>
maintainer Applied
#3 lore raw
In reply to Dan Johansen
Quoted 8 lines · Dan Johansen

Just like the Quartz64 Model B the previously stated speed of sdr-104 in soquartz is too high for the hardware to reliably communicate with some fast SD cards.
Especially on some carrierboards.

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

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: Lower sd speed on soquartz

      commit: 5912b647bd0732ae8c78a6e5b259c82efd177d93

Best regards,

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

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