2021-07-26 05:12:58

by Hsin-Yi Wang

[permalink] [raw]
Subject: [PATCH] arm64: dts: mt8183: kukui: Use aliases to mmc nodes

Use aliases to mmc nodes so the partition name for eMMC and SD card will
be consistent across boots.

Signed-off-by: Hsin-Yi Wang <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
index ae549d55a94fc..ed499e17b6570 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
@@ -13,6 +13,8 @@
/ {
aliases {
serial0 = &uart0;
+ mmc0 = &mmc0;
+ mmc1 = &mmc1;
};

chosen {
--
2.32.0.432.gabb21c7263-goog


2021-07-26 08:56:57

by Chen-Yu Tsai

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: mt8183: kukui: Use aliases to mmc nodes

On Mon, Jul 26, 2021 at 1:09 PM Hsin-Yi Wang <[email protected]> wrote:
>
> Use aliases to mmc nodes so the partition name for eMMC and SD card will
> be consistent across boots.
>
> Signed-off-by: Hsin-Yi Wang <[email protected]>

Reviewed-by: Chen-Yu Tsai <[email protected]>

2021-07-26 09:35:02

by Enric Balletbo Serra

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: mt8183: kukui: Use aliases to mmc nodes

Hi Hsin-Yi,

Thank you for the patch.

Missatge de Hsin-Yi Wang <[email protected]> del dia dl., 26 de jul.
2021 a les 7:08:
>
> Use aliases to mmc nodes so the partition name for eMMC and SD card will
> be consistent across boots.
>

This definitely helps with my "troubles" flashing the kernel to the
correct place" so

> Signed-off-by: Hsin-Yi Wang <[email protected]>

Tested-by: Enric Balletbo i Serra <[email protected]>

Btw, I think that a similar patch should be send for Elm, could you
take care of it?

Thanks,
Enric

> ---
> arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> index ae549d55a94fc..ed499e17b6570 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> @@ -13,6 +13,8 @@
> / {
> aliases {
> serial0 = &uart0;
> + mmc0 = &mmc0;
> + mmc1 = &mmc1;
> };
>
> chosen {
> --
> 2.32.0.432.gabb21c7263-goog
>

2021-07-26 10:18:29

by Hsin-Yi Wang

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: mt8183: kukui: Use aliases to mmc nodes

On Mon, Jul 26, 2021 at 5:32 PM Enric Balletbo Serra
<[email protected]> wrote:
>
> Hi Hsin-Yi,
>
> Thank you for the patch.
>
> Missatge de Hsin-Yi Wang <[email protected]> del dia dl., 26 de jul.
> 2021 a les 7:08:
> >
> > Use aliases to mmc nodes so the partition name for eMMC and SD card will
> > be consistent across boots.
> >
>
> This definitely helps with my "troubles" flashing the kernel to the
> correct place" so
>
> > Signed-off-by: Hsin-Yi Wang <[email protected]>
>
> Tested-by: Enric Balletbo i Serra <[email protected]>
>
> Btw, I think that a similar patch should be send for Elm, could you
> take care of it?
>
It's sent here:
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

Thanks!

> Thanks,
> Enric
>
> > ---
> > arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> > index ae549d55a94fc..ed499e17b6570 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> > @@ -13,6 +13,8 @@
> > / {
> > aliases {
> > serial0 = &uart0;
> > + mmc0 = &mmc0;
> > + mmc1 = &mmc1;
> > };
> >
> > chosen {
> > --
> > 2.32.0.432.gabb21c7263-goog
> >