linux-rockchip.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: Set sdmmc frequency at boot time
@ 2016-11-04 18:07 Paweł Jarosz
  2016-11-07 15:16 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Paweł Jarosz @ 2016-11-04 18:07 UTC (permalink / raw)
  To: heiko-4mtYJXux2i+zQB+pC5nmwQ, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Currently driver leaves sdmmc frequency at its default. So lets set this
to 50MHz.
This gives us performance boost in mmc transfers.

Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com>
---
 arch/arm/boot/dts/rk3066a.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index f3a5109..fc8dcc7 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -636,6 +636,8 @@
 };
 
 &mmc0 {
+	clock-frequency = <50000000>;
+	max-frequency = <50000000>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
 };
-- 
2.7.4


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

* Re: [PATCH] ARM: dts: rockchip: Set sdmmc frequency at boot time
  2016-11-04 18:07 [PATCH] ARM: dts: rockchip: Set sdmmc frequency at boot time Paweł Jarosz
@ 2016-11-07 15:16 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2016-11-07 15:16 UTC (permalink / raw)
  To: Paweł Jarosz
  Cc: mark.rutland-5wv7dgnIgG8,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, linux-I+IVW8TIWO2tmTQ+vhA3Yw

Am Freitag, 4. November 2016, 19:07:31 CET schrieb Paweł Jarosz:
> Currently driver leaves sdmmc frequency at its default. So lets set this
> to 50MHz.
> This gives us performance boost in mmc transfers.
> 
> Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com>

applied to my dts32 branch for 4.10


Thanks
Heiko


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

end of thread, other threads:[~2016-11-07 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 18:07 [PATCH] ARM: dts: rockchip: Set sdmmc frequency at boot time Paweł Jarosz
2016-11-07 15:16 ` 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).