* [PATCH] ARM: dts: imx6dl-yapp4: Use aliases to set custom MMC device indexes
@ 2021-04-30 13:53 Michal Vokáč
2021-05-23 2:02 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Michal Vokáč @ 2021-04-30 13:53 UTC (permalink / raw)
To: Shawn Guo
Cc: Rob Herring, Fabio Estevam, devicetree, Sascha Hauer,
Pengutronix Kernel Team, NXP Linux Team, linux-kernel,
Michal Vokáč
Until commit fa2d0aa96941 ("mmc: core: Allow setting slot index via
device tree alias") was introduced, our usdhc3 and usdhc4 devices
were enumerated as mmc0 and mmc1. The mmc1 device is used to boot/update
the board and its name must be fixed.
With the referenced commit, aliases from imx6qdl.dtsi took effect.
Override the aliases to get back the original device indexes.
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index 686dab57a1e4..ff8d335ee482 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -11,6 +11,8 @@
aliases: aliases {
ethernet1 = ð1;
ethernet2 = ð2;
+ mmc0 = &usdhc3;
+ mmc1 = &usdhc4;
};
backlight: backlight {
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: imx6dl-yapp4: Use aliases to set custom MMC device indexes
2021-04-30 13:53 [PATCH] ARM: dts: imx6dl-yapp4: Use aliases to set custom MMC device indexes Michal Vokáč
@ 2021-05-23 2:02 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2021-05-23 2:02 UTC (permalink / raw)
To: Michal Vokáč
Cc: Rob Herring, Fabio Estevam, devicetree, Sascha Hauer,
Pengutronix Kernel Team, NXP Linux Team, linux-kernel
On Fri, Apr 30, 2021 at 03:53:15PM +0200, Michal Vokáč wrote:
> Until commit fa2d0aa96941 ("mmc: core: Allow setting slot index via
> device tree alias") was introduced, our usdhc3 and usdhc4 devices
> were enumerated as mmc0 and mmc1. The mmc1 device is used to boot/update
> the board and its name must be fixed.
>
> With the referenced commit, aliases from imx6qdl.dtsi took effect.
> Override the aliases to get back the original device indexes.
>
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-23 2:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 13:53 [PATCH] ARM: dts: imx6dl-yapp4: Use aliases to set custom MMC device indexes Michal Vokáč
2021-05-23 2:02 ` Shawn Guo
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.