devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock
@ 2017-03-21 15:40 Alexander Kochetkov
  2017-03-22 16:47 ` Heiko Stuebner
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Kochetkov @ 2017-03-21 15:40 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring, Mark Rutland, Russell King,
	linux-arm-kernel, linux-rockchip, devicetree, linux-kernel
  Cc: 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>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-22 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-21 15:40 [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock Alexander Kochetkov
2017-03-22 16:47 ` Heiko Stuebner
2017-03-22 17:04   ` Alexander Kochetkov
     [not found]     ` <FCE5C7E0-7BED-4600-952A-E1EBC900F814-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-03-22 17:14       ` Alexander Kochetkov
     [not found]         ` <BDFC28D2-5C1F-4406-9F0E-BF089048F7DB-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-03-22 17:19           ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).