Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605742 > unrolled thread

[PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock

Started byAlexander Kochetkov <al.kochet@gmail.com>
First post2017-03-21 16:50 +0100
Last post2017-03-22 18:20 +0100
Articles 5 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock Alexander Kochetkov <al.kochet@gmail.com> - 2017-03-21 16:50 +0100
    Re: [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock Heiko Stuebner <heiko@sntech.de> - 2017-03-22 17:50 +0100
      Re: [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock Alexander Kochetkov <al.kochet@gmail.com> - 2017-03-22 18:10 +0100
        Re: [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock Alexander Kochetkov <al.kochet@gmail.com> - 2017-03-22 18:20 +0100
          Re: [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock Heiko Stuebner <heiko@sntech.de> - 2017-03-22 18:20 +0100

#1605742 — [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock

FromAlexander Kochetkov <al.kochet@gmail.com>
Date2017-03-21 16:50 +0100
Subject[PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock
Message-ID<tnucO-5iR-11@gated-at.bofh.it>
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)'

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
---
 arch/arm/boot/dts/rk3188-radxarock.dts |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 1da46d1..5b7daa4 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -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;
-- 
1.7.9.5

[toc] | [next] | [standalone]


#1606738

FromHeiko Stuebner <heiko@sntech.de>
Date2017-03-22 17:50 +0100
Message-ID<tnRCq-5tR-7@gated-at.bofh.it>
In reply to#1605742
Hi,

Am Dienstag, 21. März 2017, 18:40:22 CET schrieb Alexander Kochetkov:
> 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)'
> 
> Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>

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

[toc] | [prev] | [next] | [standalone]


#1606770

FromAlexander Kochetkov <al.kochet@gmail.com>
Date2017-03-22 18:10 +0100
Message-ID<tnRVM-5RD-29@gated-at.bofh.it>
In reply to#1606738
> 22 марта 2017 г., в 19:47, Heiko Stuebner <heiko@sntech.de> написал(а):
> 
> 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.

[toc] | [prev] | [next] | [standalone]


#1606783

FromAlexander Kochetkov <al.kochet@gmail.com>
Date2017-03-22 18:20 +0100
Message-ID<tnS5t-5Vz-39@gated-at.bofh.it>
In reply to#1606770
> 22 марта 2017 г., в 20:04, Alexander Kochetkov <al.kochet@gmail.com> написал(а):
> 
> 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.

[toc] | [prev] | [next] | [standalone]


#1606790

FromHeiko Stuebner <heiko@sntech.de>
Date2017-03-22 18:20 +0100
Message-ID<tnS5t-5Vz-59@gated-at.bofh.it>
In reply to#1606783
Am Mittwoch, 22. März 2017, 20:14:36 CET schrieb Alexander Kochetkov:
> 
> > 22 марта 2017 г., в 20:04, Alexander Kochetkov <al.kochet@gmail.com> написал(а):
> > 
> > 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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web