Skip to contentSkip to conversation

ARM: dts: rockchip: increase SD clock frequency on Radxa Rock

PATCH In review Alexander Kochetkov 2 participants 5 messages Mar 21, 2017 – Mar 22, 2017

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

PATCH 1/1 ARM: dts: rockchip: increase SD clock frequency on Radxa Rock

The patch set SD clock frequency to maximum possible to SD-card (50MHz). This change actual clock frequency from 32MHz to 48MHz (speedup 1.5X).

Banner line before patch: 'mmc_host mmc0: Bus speed (slot 0) = 32000000Hz (slot req 50000000Hz, actual 32000000HZ div = 0)'.
Banner line after patch: 'mmc_host mmc0: Bus speed (slot 0) = 96000000Hz (slot req 50000000Hz, actual 48000000HZ div = 1)'

---
 arch/arm/boot/dts/rk3188-radxarock.dts |    1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/rk3188-radxarock.dts +1 -0
index 1da46d1..5b7daa4 100644
@@ -302,6 +302,7 @@
 	pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
 	vmmc-supply = <&vcc_sd0>;
 
+	clock-frequency = <50000000>;
 	bus-width = <4>;
 	cap-mmc-highspeed;
 	cap-sd-highspeed;
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw

Hi,

Am Dienstag, 21. M?rz 2017, 18:40:22 CET schrieb Alexander Kochetkov:

Quoted 10 lines

The patch set SD clock frequency to maximum possible to SD-card (50MHz). This change actual clock frequency from 32MHz to 48MHz (speedup 1.5X).

Banner line before patch: 'mmc_host mmc0: Bus speed (slot 0) = 32000000Hz (slot req 50000000Hz, actual 32000000HZ div = 0)'.
Banner line after patch: 'mmc_host mmc0: Bus speed (slot 0) = 96000000Hz (slot req 50000000Hz, actual 48000000HZ div = 1)'

sorry, but I will not apply this patch at this time.

When testing on my radxarock with the card I always use upon entering the rootfs everything explodes with -110 errors, while without that patch the card runs stable as far as I can tell.

I also don't have the time to investigate further right now though.

Heiko

#2 lore raw
Quoted 10 lines

22 ????? 2017 ?., ? 19:47, Heiko Stuebner <[email protected]> ???????(?):

sorry, but I will not apply this patch at this time.

When testing on my radxarock with the card I always use upon entering the rootfs everything explodes with -110 errors, while without that patch the card runs stable as far as I can tell.

I also don't have the time to investigate further right now though.

Ok. Let leave as is for now.

My radxa worked stable for a year with this settings. And my custom rk3188 based board also has this setting. Kernel 4.8. And I saw -110 errors only then I disconnect SD-card from board.

#3 lore raw
Quoted 6 lines

22 ????? 2017 ?., ? 20:04, Alexander Kochetkov <[email protected]> ???????(?):

Ok. Let leave as is for now.

My radxa worked stable for a year with this settings.

Ok, I not sure what my radxa worked stable with this settings. Hieko, thanks for catching that.

Sorry for your time.

maintainer
#4 lore raw

Am Mittwoch, 22. M?rz 2017, 20:14:36 CET schrieb Alexander Kochetkov:

Quoted 11 lines
Quoted 6 lines

22 ????? 2017 ?., ? 20:04, Alexander Kochetkov <[email protected]> ???????(?):

Ok. Let leave as is for now.

My radxa worked stable for a year with this settings.

Ok, I not sure what my radxa worked stable with this settings. Hieko, thanks for catching that.

Sorry for your time.

no problem :-)
Hopefully some time in the future we'll be able to figure out where the instability on my rock came from.