linux-rockchip.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rk322x boards
@ 2021-01-18 15:52 Johan Jonker
  2021-01-18 15:52 ` [PATCH 2/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rv1108 boards Johan Jonker
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Johan Jonker @ 2021-01-18 15:52 UTC (permalink / raw)
  To: heiko; +Cc: linux-rockchip, robh+dt, linux-kernel, linux-arm-kernel, devicetree

Recently introduced async probe on mmc devices can shuffle block IDs.
Pin them to fixed values to ease booting in environments where UUIDs are
not practical. Use newly introduced aliases for mmcblk devices from [1].
The sort order is based on reg address.

[1] https://patchwork.kernel.org/patch/11747669/

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rk322x.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
index 9910f9b5c..f10c4d2fa 100644
--- a/arch/arm/boot/dts/rk322x.dtsi
+++ b/arch/arm/boot/dts/rk322x.dtsi
@@ -14,6 +14,9 @@
 	interrupt-parent = <&gic>;
 
 	aliases {
+		mmc0 = &sdmmc;
+		mmc1 = &sdio;
+		mmc2 = &emmc;
 		serial0 = &uart0;
 		serial1 = &uart1;
 		serial2 = &uart2;
-- 
2.11.0


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

end of thread, other threads:[~2021-02-10 13:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 15:52 [PATCH 1/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rk322x boards Johan Jonker
2021-01-18 15:52 ` [PATCH 2/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rv1108 boards Johan Jonker
2021-02-09 22:25   ` Arnd Bergmann
2021-02-09 23:50     ` Heiko Stübner
2021-02-10 10:34       ` Arnd Bergmann
2021-02-10 10:49         ` Heiko Stübner
2021-02-10 13:53           ` Arnd Bergmann
2021-01-18 15:52 ` [PATCH 3/5] arm64: dts: rockchip: assign a fixed index to mmc devices on px30 boards Johan Jonker
2021-01-18 15:52 ` [PATCH 4/5] arm64: dts: rockchip: assign a fixed index to mmc devices on rk3308 boards Johan Jonker
2021-01-18 15:52 ` [PATCH 5/5] arm64: dts: rockchip: assign a fixed index to mmc devices on rk3368 boards Johan Jonker
2021-01-25 23:56 ` (subset) [PATCH 1/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rk322x boards Heiko Stuebner

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