All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc
@ 2019-04-03 21:50 Leonidas P. Papadakos
       [not found] ` <20190403215051.29536-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Leonidas P. Papadakos @ 2019-04-03 21:50 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Leonidas P. Papadakos,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

The eMMC 5.x that Libre Computer provide for their boards supports HS200 mode.
The support is already included in the dts for their newest board:

La Frite (AML-S805X-AC)
dts: arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts

That same eMMC is supported in the ROC-RK3328-CC:
https://www.loverpi.com/products/libre-computer-board-emmc-5-x-module

This increases the speed of the eMMC significantly.

Signed-off-by: Leonidas P. Papadakos <papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index c213ad74d..c3cf56107 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -122,6 +122,10 @@
 &emmc {
 	bus-width = <8>;
 	cap-mmc-highspeed;
+	disable-wp;
+	max-frequency = <200000000>;
+	mmc-ddr-1_8v;
+	mmc-hs200-1_8v;
 	non-removable;
 	pinctrl-names = "default";
 	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
-- 
2.21.0

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

* Re: [PATCH] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc【请注意,邮件由linux-rockchip-bounces+shawn.lin=rock-chips.com@lists.infradead.org代发】
       [not found] ` <20190403215051.29536-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2019-04-04  1:54   ` Shawn Lin
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Lin @ 2019-04-04  1:54 UTC (permalink / raw)
  To: Leonidas P. Papadakos, Heiko Stuebner, Rob Herring
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	shawn.lin-TNX95d0MmH7DzftRWevZcw,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On 2019/4/4 5:50, Leonidas P. Papadakos wrote:
> The eMMC 5.x that Libre Computer provide for their boards supports HS200 mode.
> The support is already included in the dts for their newest board:
> 
> La Frite (AML-S805X-AC)
> dts: arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts
> 
> That same eMMC is supported in the ROC-RK3328-CC:
> https://www.loverpi.com/products/libre-computer-board-emmc-5-x-module
> 
> This increases the speed of the eMMC significantly.
> 
> Signed-off-by: Leonidas P. Papadakos <papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
>   arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
> index c213ad74d..c3cf56107 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
> @@ -122,6 +122,10 @@
>   &emmc {
>   	bus-width = <8>;
>   	cap-mmc-highspeed;
> +	disable-wp;

disable-wp isn't needed.

> +	max-frequency = <200000000>;

AFAIK, the 200Mhz eMMC SI for rk3328 is not so good for MP,
so I suggest you to limit it to 150MHz.:)

> +	mmc-ddr-1_8v;
> +	mmc-hs200-1_8v;
>   	non-removable;
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
> 

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

end of thread, other threads:[~2019-04-04  1:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 21:50 [PATCH] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc Leonidas P. Papadakos
     [not found] ` <20190403215051.29536-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-04-04  1:54   ` [PATCH] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc【请注意,邮件由linux-rockchip-bounces+shawn.lin=rock-chips.com@lists.infradead.org代发】 Shawn Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.