2020-06-01 02:19:09

by Peng Fan

[permalink] [raw]
Subject: [PATCH 0/3] arm64: dts: imx8qxp: dtb aliases fix/update

From: Peng Fan <[email protected]>

Minor patchset to fix and update alias for i.MX8QXP

Peng Fan (3):
arm64: dts: imx8qxp: add alias for lsio MU
arm64: dts: imx8qxp: add i2c aliases
arm64: dts: imx8qxp: Add ethernet alias

arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

--
2.16.4


2020-06-01 02:19:12

by Peng Fan

[permalink] [raw]
Subject: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases

From: Peng Fan <[email protected]>

The devices could be enumerated properly with aliases.

Signed-off-by: Peng Fan <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 33363c127478..8ce997110cd6 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -19,6 +19,10 @@
#size-cells = <2>;

aliases {
+ i2c0 = &adma_i2c0;
+ i2c1 = &adma_i2c1;
+ i2c2 = &adma_i2c2;
+ i2c3 = &adma_i2c3;
gpio0 = &lsio_gpio0;
gpio1 = &lsio_gpio1;
gpio2 = &lsio_gpio2;
--
2.16.4

2020-06-01 02:21:24

by Peng Fan

[permalink] [raw]
Subject: [PATCH 3/3] arm64: dts: imx8qxp: Add ethernet alias

From: Peng Fan <[email protected]>

Add ethernet alias, so bootloader code can use this to find the
primary ethernet device, and set the MAC address.

Signed-off-by: Peng Fan <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 8ce997110cd6..ff6368af7d39 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -23,6 +23,8 @@
i2c1 = &adma_i2c1;
i2c2 = &adma_i2c2;
i2c3 = &adma_i2c3;
+ ethernet0 = &fec1;
+ ethernet1 = &fec2;
gpio0 = &lsio_gpio0;
gpio1 = &lsio_gpio1;
gpio2 = &lsio_gpio2;
--
2.16.4

2020-06-23 04:19:47

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases

On Mon, Jun 01, 2020 at 10:06:19AM +0800, [email protected] wrote:
> From: Peng Fan <[email protected]>
>
> The devices could be enumerated properly with aliases.
>
> Signed-off-by: Peng Fan <[email protected]>
> ---
> arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> index 33363c127478..8ce997110cd6 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> @@ -19,6 +19,10 @@
> #size-cells = <2>;
>
> aliases {
> + i2c0 = &adma_i2c0;
> + i2c1 = &adma_i2c1;
> + i2c2 = &adma_i2c2;
> + i2c3 = &adma_i2c3;

Had a second look. It breaks alphabetical order. So dropped the
series.

Shawn

> gpio0 = &lsio_gpio0;
> gpio1 = &lsio_gpio1;
> gpio2 = &lsio_gpio2;
> --
> 2.16.4
>

2020-06-23 04:21:02

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH 0/3] arm64: dts: imx8qxp: dtb aliases fix/update

On Mon, Jun 01, 2020 at 10:06:17AM +0800, [email protected] wrote:
> From: Peng Fan <[email protected]>
>
> Minor patchset to fix and update alias for i.MX8QXP
>
> Peng Fan (3):
> arm64: dts: imx8qxp: add alias for lsio MU
> arm64: dts: imx8qxp: add i2c aliases
> arm64: dts: imx8qxp: Add ethernet alias

Applied all, thanks.

2020-06-23 07:09:33

by Peng Fan

[permalink] [raw]
Subject: RE: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases

Hi Shawn,

> Subject: Re: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases
>
> On Mon, Jun 01, 2020 at 10:06:19AM +0800, [email protected] wrote:
> > From: Peng Fan <[email protected]>
> >
> > The devices could be enumerated properly with aliases.
> >
> > Signed-off-by: Peng Fan <[email protected]>
> > ---
> > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> > b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> > index 33363c127478..8ce997110cd6 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> > @@ -19,6 +19,10 @@
> > #size-cells = <2>;
> >
> > aliases {
> > + i2c0 = &adma_i2c0;
> > + i2c1 = &adma_i2c1;
> > + i2c2 = &adma_i2c2;
> > + i2c3 = &adma_i2c3;
>
> Had a second look. It breaks alphabetical order. So dropped the series.

V2 has this addressed.
https://patchwork.kernel.org/cover/11619867/

Thanks,
Peng.

>
> Shawn
>
> > gpio0 = &lsio_gpio0;
> > gpio1 = &lsio_gpio1;
> > gpio2 = &lsio_gpio2;
> > --
> > 2.16.4
> >