Skip to contentSkip to conversation

arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board

PATCH Applied Yangbo Lu 2 participants 3 messages Feb 4, 2020 – Feb 14, 2020

Subsystems (2)
lore
Share & tools
lore

Yangbo Lu

author
#0 lore raw

PATCH 1/1 arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board

This patch is to add eMMC HS200 speed mode support on ls1088ardb whose controller and peripheral circut support such capability. And clocks dts property is needed for driver to get peripheral clock value used for this speed mode.

---
 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi    | 1 +
 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +1 -0
index 4d77b34..5633e59 100644
@@ -83,6 +83,7 @@
 };
 
 &esdhc {
+	mmc-hs200-1_8v;
 	status = "okay";
 };
 
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +1 -0
index 5945662..ec6013a 100644
@@ -393,6 +393,7 @@
 			reg = <0x0 0x2140000 0x0 0x10000>;
 			interrupts = <0 28 0x4>; /* Level high type */
 			clock-frequency = <0>;
+			clocks = <&clockgen 2 1>;
 			voltage-ranges = <1800 1800 3300 3300>;
 			sdhci,auto-cmd12;
 			little-endian;
Signature · 1 line
2.7.4
author
#1 lore raw

Any comments? Thanks!

Quoted 50 lines

-----Original Message-----
From: Yangbo Lu <[email protected]>
Sent: Tuesday, February 4, 2020 12:09 PM
To: [email protected]; [email protected]; [email protected]; Shawn Guo <[email protected]>; Leo Li <[email protected]>
Cc: Rob Herring <[email protected]>; Mark Rutland <[email protected]>; Y.b. Lu <[email protected]>
Subject: [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board

This patch is to add eMMC HS200 speed mode support on ls1088ardb whose controller and peripheral circut support such capability. And clocks dts property is needed for driver to get peripheral clock value used for this speed mode.

---
 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi    | 1 +
 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +1 -0
index 4d77b34..5633e59 100644
@@ -83,6 +83,7 @@
 };
 
 &esdhc {
+	mmc-hs200-1_8v;
 	status = "okay";
 };
 
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +1 -1
index 5945662..ec6013a 100644
@@ -393,6 +393,7 @@
 			reg = <0x0 0x2140000 0x0 0x10000>;
 			interrupts = <0 28 0x4>; /* Level high type */
 			clock-frequency = <0>;
+			clocks = <&clockgen 2 1>;
 			voltage-ranges = <1800 1800 3300 3300>;
 			sdhci,auto-cmd12;
 			little-endian;
--

2.7.4

Applied
#2 lore raw
In reply to Yangbo Lu
Quoted 6 lines · Yangbo Lu

This patch is to add eMMC HS200 speed mode support on ls1088ardb whose controller and peripheral circut support such capability. And clocks dts property is needed for driver to get peripheral clock value used for this speed mode.

Applied, thanks.