Skip to contentSkip to conversation

arm64: dts: freescale: use fixed index mmcN for layerscape

PATCH Applied Yangbo Lu 2 participants 2 messages Oct 21, 2020 – Nov 1, 2020

Subsystems (2)
lore
Share & tools
lore

Yangbo Lu

author
#0 lore raw

PATCH 1/1 arm64: dts: freescale: use fixed index mmcN for layerscape

The eSDHC driver has converted to use asynchronous probe. Let's use fixed index mmcN for eSDHC controllers, so that we can ignore the effect on usage, and avoid problem on previous use cases with fixed index mmcblkN.

---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 2 ++
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 ++
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 ++
 3 files changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +2 -0
index 6a2c091..a3b04d1 100644
@@ -18,6 +18,8 @@
 
 	aliases {
 		crypto = &crypto;
+		mmc0 = &esdhc0;
+		mmc1 = &esdhc1;
 		rtc1 = &ftm_alarm0;
 		rtic-a = &rtic_a;
 		rtic-b = &rtic_b;
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +2 -0
index 73e4f94..16ac1be 100644
@@ -18,6 +18,8 @@
 	#size-cells = <2>;
 
 	aliases {
+		mmc0 = &esdhc;
+		mmc1 = &esdhc1;
 		rtc1 = &ftm_alarm0;
 	};
 
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +2 -0
index 83072da6..cb68db8 100644
@@ -17,6 +17,8 @@
 	#size-cells = <2>;
 
 	aliases {
+		mmc0 = &esdhc0;
+		mmc1 = &esdhc1;
 		rtc1 = &ftm_alarm0;
 	};
 
Signature · 1 line
2.7.4
Applied
#1 lore raw
Quoted 6 lines · Yangbo Lu

The eSDHC driver has converted to use asynchronous probe. Let's use fixed index mmcN for eSDHC controllers, so that we can ignore the effect on usage, and avoid problem on previous use cases with fixed index mmcblkN.

Applied, thanks.