* [PATCH] arm64: dts: hikey: Enable HS200 mode on eMMC
@ 2018-01-17 20:35 oscardagrach
2018-03-02 16:02 ` Wei Xu
0 siblings, 1 reply; 2+ messages in thread
From: oscardagrach @ 2018-01-17 20:35 UTC (permalink / raw)
Cc: oscardagrach, Wei Xu, Rob Herring, Mark Rutland, Catalin Marinas,
Will Deacon, linux-arm-kernel, devicetree, linux-kernel
According to the hi6220 datasheet, the MMC controller is JEDEC eMMC 4.5
compliant, in addition to supporting a clock of up to 150MHz. The Hikey
schematic also indicates the device utilizes 1.8v signaling. Define these
parameters in the device tree to enable HS200 mode.
Signed-off-by: Ryan Grachek <ryan@edited.us>
---
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index 3aee6123d161..964e43e05ac6 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -299,7 +299,9 @@
/* GPIO blocks 16 thru 19 do not appear to be routed to pins */
dwmmc_0: dwmmc0@f723d000 {
+ max-frequency = <150000000>;
cap-mmc-highspeed;
+ mmc-hs200-1_8v;
non-removable;
bus-width = <0x8>;
vmmc-supply = <&ldo19>;
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: hikey: Enable HS200 mode on eMMC
2018-01-17 20:35 [PATCH] arm64: dts: hikey: Enable HS200 mode on eMMC oscardagrach
@ 2018-03-02 16:02 ` Wei Xu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Xu @ 2018-03-02 16:02 UTC (permalink / raw)
To: oscardagrach
Cc: Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon,
linux-arm-kernel, devicetree, linux-kernel
Hi Ryan,
On 2018/1/17 20:35, oscardagrach wrote:
> According to the hi6220 datasheet, the MMC controller is JEDEC eMMC 4.5
> compliant, in addition to supporting a clock of up to 150MHz. The Hikey
> schematic also indicates the device utilizes 1.8v signaling. Define these
> parameters in the device tree to enable HS200 mode.
>
> Signed-off-by: Ryan Grachek <ryan@edited.us>
> ---
Applied into hisilicon dt tree.
Thanks!
BR,
Wei
> arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> index 3aee6123d161..964e43e05ac6 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> @@ -299,7 +299,9 @@
> /* GPIO blocks 16 thru 19 do not appear to be routed to pins */
>
> dwmmc_0: dwmmc0@f723d000 {
> + max-frequency = <150000000>;
> cap-mmc-highspeed;
> + mmc-hs200-1_8v;
> non-removable;
> bus-width = <0x8>;
> vmmc-supply = <&ldo19>;
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-02 16:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17 20:35 [PATCH] arm64: dts: hikey: Enable HS200 mode on eMMC oscardagrach
2018-03-02 16:02 ` Wei Xu
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).