diff mbox series

ARM: dts: e60k02: fix aliases for mmc

Message ID 20240605083950.134479-1-andreas@kemnade.info (mailing list archive)
State New, archived
Headers show
Series ARM: dts: e60k02: fix aliases for mmc | expand

Commit Message

Andreas Kemnade June 5, 2024, 8:39 a.m. UTC
Since commit fa2d0aa96941
("mmc: core: Allow setting slot index via device tree alias")
mmc numbering are changed, confusing boot scripts. Fix that by adding
proper aliases

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
Well, this has lingered around a long time in my branches and probably
used by virtually everyone using this devicetree.

 arch/arm/boot/dts/nxp/imx/e60k02.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Peng Fan June 6, 2024, 1:13 a.m. UTC | #1
> Subject: [PATCH] ARM: dts: e60k02: fix aliases for mmc
> 
> Since commit fa2d0aa96941
> ("mmc: core: Allow setting slot index via device tree alias") mmc numbering
> are changed, confusing boot scripts. Fix that by adding proper aliases
> 
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>

Reviewed-by: Peng Fan <peng.fan@nxp.com>
> ---
> Well, this has lingered around a long time in my branches and probably used
> by virtually everyone using this devicetree.
> 
>  arch/arm/boot/dts/nxp/imx/e60k02.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/nxp/imx/e60k02.dtsi
> b/arch/arm/boot/dts/nxp/imx/e60k02.dtsi
> index 13756d39fb7b..0029c12f16c8 100644
> --- a/arch/arm/boot/dts/nxp/imx/e60k02.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/e60k02.dtsi
> @@ -14,6 +14,10 @@
>  #include <dt-bindings/input/input.h>
> 
>  / {
> +	aliases {
> +		mmc0 = &usdhc2;
> +		mmc1 = &usdhc3;
> +	};
> 
>  	chosen {
>  		stdout-path = &uart1;
> --
> 2.39.2
>
Shawn Guo June 17, 2024, 1:11 a.m. UTC | #2
On Wed, Jun 05, 2024 at 10:39:50AM +0200, Andreas Kemnade wrote:
> Since commit fa2d0aa96941
> ("mmc: core: Allow setting slot index via device tree alias")
> mmc numbering are changed, confusing boot scripts. Fix that by adding
> proper aliases
> 
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/e60k02.dtsi b/arch/arm/boot/dts/nxp/imx/e60k02.dtsi
index 13756d39fb7b..0029c12f16c8 100644
--- a/arch/arm/boot/dts/nxp/imx/e60k02.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/e60k02.dtsi
@@ -14,6 +14,10 @@ 
 #include <dt-bindings/input/input.h>
 
 / {
+	aliases {
+		mmc0 = &usdhc2;
+		mmc1 = &usdhc3;
+	};
 
 	chosen {
 		stdout-path = &uart1;