devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc
@ 2019-04-04 11:23 Leonidas P. Papadakos
       [not found] ` <20190404112329.8157-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Leonidas P. Papadakos @ 2019-04-04 11:23 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>
---
Changes since v1:
- disable-wp isn't needed.
- limit max_frequency to 150MHz for rk3328

 arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 3 +++
 1 file changed, 3 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..db3246995 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -122,6 +122,9 @@
 &emmc {
 	bus-width = <8>;
 	cap-mmc-highspeed;
+	max-frequency = <150000000>;
+	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] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc
       [not found] ` <20190404112329.8157-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2019-04-04 12:40   ` Leonidas P. Papadakos
       [not found]     ` <1554381609.12893.0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Leonidas P. Papadakos @ 2019-04-04 12:40 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r


Should I make a patch v3 with the vccs for the emmc like on rock64?
> vmmc-supply = <&vcc_io>;
> vqmmc-supply = <&vcc18_emmc>;

They do exist in the renegade dts.

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

* Re: [PATCH v2] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc
       [not found]     ` <1554381609.12893.0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2019-04-11 12:10       ` Heiko Stuebner
  2019-04-11 15:46         ` Leonidas P. Papadakos
  0 siblings, 1 reply; 4+ messages in thread
From: Heiko Stuebner @ 2019-04-11 12:10 UTC (permalink / raw)
  To: Leonidas P. Papadakos
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Am Donnerstag, 4. April 2019, 14:40:09 CEST schrieb Leonidas P. Papadakos:
> 
> Should I make a patch v3 with the vccs for the emmc like on rock64?
> > vmmc-supply = <&vcc_io>;
> > vqmmc-supply = <&vcc18_emmc>;
> 
> They do exist in the renegade dts.

modelling relevant supplies is always good to have.

I've applied your patch for 5.2 and just added the supplies you mention
above. So no need for a respin, but you could double-check that I didn't
mess up please:
https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?h=v5.2-armsoc/dts64&id=de674862f76d006c670308c46a010b3a09536fd3

Thanks
Heiko

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

* Re: [PATCH v2] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc
  2019-04-11 12:10       ` Heiko Stuebner
@ 2019-04-11 15:46         ` Leonidas P. Papadakos
  0 siblings, 0 replies; 4+ messages in thread
From: Leonidas P. Papadakos @ 2019-04-11 15:46 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r


> modelling relevant supplies is always good to have.
> 
> I've applied your patch for 5.2 and just added the supplies you 
> mention
> above. So no need for a respin, but you could double-check that I 
> didn't
> mess up please:
> https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?h=v5.2-armsoc/dts64&id=de674862f76d006c670308c46a010b3a09536fd3
> 
> Thanks
> Heiko
> 

Looks good, thanks!

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

end of thread, other threads:[~2019-04-11 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-04 11:23 [PATCH v2] arm64: dts: rockchip: eMMC additions for rk3328-roc-cc Leonidas P. Papadakos
     [not found] ` <20190404112329.8157-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-04-04 12:40   ` Leonidas P. Papadakos
     [not found]     ` <1554381609.12893.0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-04-11 12:10       ` Heiko Stuebner
2019-04-11 15:46         ` Leonidas P. Papadakos

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).