mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Add mmc aliases for Mediatek Genio boards
@ 2026-02-18  9:23 Louis-Alexis Eyraud
  2026-02-18  9:23 ` [PATCH 1/3] arm64: dts: mediatek: mt8395-genio-common: add mmc aliases Louis-Alexis Eyraud
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Louis-Alexis Eyraud @ 2026-02-18  9:23 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: kernel, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Louis-Alexis Eyraud

This series adds mmc for the Mediatek Genio boards mmc aliases in the
board devicetrees that do not have them, so that mmc host controllers
get enumerated in a consistent order.

This series is based on linux-next next-20260217 tag.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
---
Louis-Alexis Eyraud (3):
      arm64: dts: mediatek: mt8395-genio-common: add mmc aliases
      arm64: dts: mediatek: mt8395-radxa-nio-12l: add mmc aliases
      arm64: dts: mediatek: mt8365-evk: add mmc aliases

 arch/arm64/boot/dts/mediatek/mt8365-evk.dts           | 4 +++-
 arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi | 4 +++-
 arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)
---
base-commit: 5295425d4409ca3afec37f78306e09b2e9e92e7a
change-id: 20260218-mtk-genio-mmc-aliases-ec9a598b9b9f

Best regards,
-- 
Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>


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

* [PATCH 1/3] arm64: dts: mediatek: mt8395-genio-common: add mmc aliases
  2026-02-18  9:23 [PATCH 0/3] Add mmc aliases for Mediatek Genio boards Louis-Alexis Eyraud
@ 2026-02-18  9:23 ` Louis-Alexis Eyraud
  2026-02-18  9:23 ` [PATCH 2/3] arm64: dts: mediatek: mt8395-radxa-nio-12l: " Louis-Alexis Eyraud
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Louis-Alexis Eyraud @ 2026-02-18  9:23 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: kernel, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Louis-Alexis Eyraud

Add aliases for mmc nodes, so that the eMMC and SDCard host controllers
get enumerated in a consistent order for the Mediatek Genio 1200-EVK
board.
Also, reorder serial0 so all aliases are sorted alphanumerically.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi b/arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi
index d849af4d36134df6a7b9f7967efd0db13c372d7a..62c336e215009e03cf9aef9aa099228aba5918cc 100644
--- a/arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi
@@ -18,8 +18,10 @@
 
 / {
 	aliases {
-		serial0 = &uart0;
 		ethernet0 = &eth;
+		mmc0 = &mmc0;
+		mmc1 = &mmc1;
+		serial0 = &uart0;
 	};
 
 	chosen {

-- 
2.53.0


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

* [PATCH 2/3] arm64: dts: mediatek: mt8395-radxa-nio-12l: add mmc aliases
  2026-02-18  9:23 [PATCH 0/3] Add mmc aliases for Mediatek Genio boards Louis-Alexis Eyraud
  2026-02-18  9:23 ` [PATCH 1/3] arm64: dts: mediatek: mt8395-genio-common: add mmc aliases Louis-Alexis Eyraud
@ 2026-02-18  9:23 ` Louis-Alexis Eyraud
  2026-02-18  9:23 ` [PATCH 3/3] arm64: dts: mediatek: mt8365-evk: " Louis-Alexis Eyraud
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Louis-Alexis Eyraud @ 2026-02-18  9:23 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: kernel, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Louis-Alexis Eyraud

Add aliases for mmc nodes, so that the eMMC and SDCard host controllers
get enumerated in a consistent order for the Radxa NIO-12L board.
Also, reorder ethernet0 so all aliases are sorted alphanumerically.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts
index 1cd4b84e98615be6c5cb13d01b7baed0e017c3be..bf91305e8e4a5d49d438e43b7e6f2e6bbbff5bad 100644
--- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts
@@ -21,12 +21,14 @@ / {
 	compatible = "radxa,nio-12l", "mediatek,mt8395", "mediatek,mt8195";
 
 	aliases {
+		ethernet0 = &eth;
 		i2c0 = &i2c2;
 		i2c1 = &i2c3;
 		i2c2 = &i2c4;
 		i2c3 = &i2c0;
 		i2c4 = &i2c1;
-		ethernet0 = &eth;
+		mmc0 = &mmc0;
+		mmc1 = &mmc1;
 		serial0 = &uart0;
 		serial1 = &uart1;
 		spi0 = &spi1;

-- 
2.53.0


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

* [PATCH 3/3] arm64: dts: mediatek: mt8365-evk: add mmc aliases
  2026-02-18  9:23 [PATCH 0/3] Add mmc aliases for Mediatek Genio boards Louis-Alexis Eyraud
  2026-02-18  9:23 ` [PATCH 1/3] arm64: dts: mediatek: mt8395-genio-common: add mmc aliases Louis-Alexis Eyraud
  2026-02-18  9:23 ` [PATCH 2/3] arm64: dts: mediatek: mt8395-radxa-nio-12l: " Louis-Alexis Eyraud
@ 2026-02-18  9:23 ` Louis-Alexis Eyraud
  2026-02-18 10:19 ` [PATCH 0/3] Add mmc aliases for Mediatek Genio boards AngeloGioacchino Del Regno
  2026-02-24  9:33 ` AngeloGioacchino Del Regno
  4 siblings, 0 replies; 6+ messages in thread
From: Louis-Alexis Eyraud @ 2026-02-18  9:23 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: kernel, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Louis-Alexis Eyraud

Add aliases for mmc nodes, so that the eMMC and SDCard host controllers
get enumerated in a consistent order for the Mediatek Genio 350-EVK
board.
Also, reorder serial0 so all aliases are sorted alphanumerically.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
index b5dd5ef9fa11ae1d54aa754325bac2e184b90dd3..a30ee523b0b587977f9427767d09b21894eb7ae3 100644
--- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
@@ -20,8 +20,10 @@ / {
 	compatible = "mediatek,mt8365-evk", "mediatek,mt8365";
 
 	aliases {
-		serial0 = &uart0;
 		ethernet = &ethernet;
+		mmc0 = &mmc0;
+		mmc1 = &mmc1;
+		serial0 = &uart0;
 	};
 
 	chosen {

-- 
2.53.0


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

* Re: [PATCH 0/3] Add mmc aliases for Mediatek Genio boards
  2026-02-18  9:23 [PATCH 0/3] Add mmc aliases for Mediatek Genio boards Louis-Alexis Eyraud
                   ` (2 preceding siblings ...)
  2026-02-18  9:23 ` [PATCH 3/3] arm64: dts: mediatek: mt8365-evk: " Louis-Alexis Eyraud
@ 2026-02-18 10:19 ` AngeloGioacchino Del Regno
  2026-02-24  9:33 ` AngeloGioacchino Del Regno
  4 siblings, 0 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-02-18 10:19 UTC (permalink / raw)
  To: Louis-Alexis Eyraud, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Matthias Brugger
  Cc: kernel, devicetree, linux-kernel, linux-arm-kernel, linux-mediatek

Il 18/02/26 10:23, Louis-Alexis Eyraud ha scritto:
> This series adds mmc for the Mediatek Genio boards mmc aliases in the
> board devicetrees that do not have them, so that mmc host controllers
> get enumerated in a consistent order.
> 
> This series is based on linux-next next-20260217 tag.
> 
> Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>



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

* Re: [PATCH 0/3] Add mmc aliases for Mediatek Genio boards
  2026-02-18  9:23 [PATCH 0/3] Add mmc aliases for Mediatek Genio boards Louis-Alexis Eyraud
                   ` (3 preceding siblings ...)
  2026-02-18 10:19 ` [PATCH 0/3] Add mmc aliases for Mediatek Genio boards AngeloGioacchino Del Regno
@ 2026-02-24  9:33 ` AngeloGioacchino Del Regno
  4 siblings, 0 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-02-24  9:33 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	Louis-Alexis Eyraud
  Cc: kernel, devicetree, linux-kernel, linux-arm-kernel, linux-mediatek

On Wed, 18 Feb 2026 10:23:01 +0100, Louis-Alexis Eyraud wrote:
> This series adds mmc for the Mediatek Genio boards mmc aliases in the
> board devicetrees that do not have them, so that mmc host controllers
> get enumerated in a consistent order.
> 
> This series is based on linux-next next-20260217 tag.
> 
> 
> [...]

Applied to v7.0-next/dts64, thanks!

[1/3] arm64: dts: mediatek: mt8395-genio-common: add mmc aliases
      commit: addd3eaf5330d4b5bde930b89f7c7f3310dd9bf5
[2/3] arm64: dts: mediatek: mt8395-radxa-nio-12l: add mmc aliases
      commit: 4d580d122bb52efd4a7e5e93d61c066bb850c06f
[3/3] arm64: dts: mediatek: mt8365-evk: add mmc aliases
      commit: eaa699ee20847335d57216b4e0b779c762f544d8

Cheers,
Angelo



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

end of thread, other threads:[~2026-02-24  9:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-18  9:23 [PATCH 0/3] Add mmc aliases for Mediatek Genio boards Louis-Alexis Eyraud
2026-02-18  9:23 ` [PATCH 1/3] arm64: dts: mediatek: mt8395-genio-common: add mmc aliases Louis-Alexis Eyraud
2026-02-18  9:23 ` [PATCH 2/3] arm64: dts: mediatek: mt8395-radxa-nio-12l: " Louis-Alexis Eyraud
2026-02-18  9:23 ` [PATCH 3/3] arm64: dts: mediatek: mt8365-evk: " Louis-Alexis Eyraud
2026-02-18 10:19 ` [PATCH 0/3] Add mmc aliases for Mediatek Genio boards AngeloGioacchino Del Regno
2026-02-24  9:33 ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®