All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] arm64: dts: meson: g12b: odroid-n2: Assign a fixed index to mmc devices
@ 2021-01-27 23:08 ` Alexander Stein
  0 siblings, 0 replies; 38+ messages in thread
From: Alexander Stein @ 2021-01-27 23:08 UTC (permalink / raw)
  To: Rob Herring, Kevin Hilman, Neil Armstrong, Jerome Brunet,
	Martin Blumenstingl
  Cc: Alexander Stein, devicetree, linux-amlogic, linux-arm-kernel

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].
[1]
https://patchwork.kernel.org/patch/11747669/

Commit message taken from commit 0011c6d18277 ("arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.")

Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
---
I was wondering which order I should use. Depending in your booting
medium (SD card or eMMC) you 'want' one or the other as mmc0.
In the end I ordered them according to the names.

 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
index 050862cd0996..2faa4da917c1 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
@@ -13,6 +13,8 @@ / {
 	aliases {
 		serial0 = &uart_AO;
 		ethernet0 = &ethmac;
+		mmc0 = &sd_emmc_b;
+		mmc1 = &sd_emmc_c;
 	};
 
 	dioo2133: audio-amplifier-0 {
-- 
2.30.0


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

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

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 23:08 [PATCH 1/1] arm64: dts: meson: g12b: odroid-n2: Assign a fixed index to mmc devices Alexander Stein
2021-01-27 23:08 ` Alexander Stein
2021-01-27 23:08 ` Alexander Stein
2021-01-29  8:07 ` Neil Armstrong
2021-01-29  8:07   ` Neil Armstrong
2021-01-29 20:51   ` Alexander Stein
2021-01-29 20:51     ` Alexander Stein
2021-01-29 20:51     ` Alexander Stein
2021-02-02  0:50     ` Kevin Hilman
2021-02-02  0:50       ` Kevin Hilman
2021-02-02  0:50       ` Kevin Hilman
2021-02-02 17:03 ` [PATCH v2 1/1] arm64: dts: amlogic: " Alexander Stein
2021-02-02 17:03   ` Alexander Stein
2021-02-02 17:03   ` Alexander Stein
2021-02-03 19:20   ` Kevin Hilman
2021-02-03 19:20     ` Kevin Hilman
2021-02-03 19:20     ` Kevin Hilman
2021-02-03 19:28 ` [PATCH v3 " Alexander Stein
2021-02-03 19:28   ` Alexander Stein
2021-02-03 19:28   ` Alexander Stein
2021-02-18 18:09   ` Alexander Stein
2021-02-18 18:09     ` Alexander Stein
2021-02-18 18:09     ` Alexander Stein
2021-03-08 17:43     ` Kevin Hilman
2021-03-08 17:43       ` Kevin Hilman
2021-03-08 17:43       ` Kevin Hilman
2021-10-02  6:56       ` Alexander Stein
2021-10-02  6:56         ` Alexander Stein
2021-10-02  6:56         ` Alexander Stein
2021-10-02  8:49         ` Neil Armstrong
2021-10-02  8:49           ` Neil Armstrong
2021-10-02  8:49           ` Neil Armstrong
2021-10-02  8:54           ` Alexander Stein
2021-10-02  8:54             ` Alexander Stein
2021-10-02  8:54             ` Alexander Stein
2021-03-08 17:39   ` Kevin Hilman
2021-03-08 17:39     ` Kevin Hilman
2021-03-08 17:39     ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.