2019-05-14 03:36:40

by Anson Huang

[permalink] [raw]
Subject: [PATCH] arm64: dts: imx8mq: Add gpio alias

Add i.MX8MQ GPIO alias for kernel GPIO driver usage.

Signed-off-by: Anson Huang <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 6d635ba..df33672 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -30,6 +30,11 @@
spi0 = &ecspi1;
spi1 = &ecspi2;
spi2 = &ecspi3;
+ gpio0 = &gpio1;
+ gpio1 = &gpio2;
+ gpio2 = &gpio3;
+ gpio3 = &gpio4;
+ gpio4 = &gpio5;
};

ckil: clock-ckil {
--
2.7.4


2019-05-21 08:10:29

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: imx8mq: Add gpio alias

On Tue, May 14, 2019 at 03:33:56AM +0000, Anson Huang wrote:
> Add i.MX8MQ GPIO alias for kernel GPIO driver usage.
>
> Signed-off-by: Anson Huang <[email protected]>
> ---
> arch/arm64/boot/dts/freescale/imx8mq.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> index 6d635ba..df33672 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -30,6 +30,11 @@
> spi0 = &ecspi1;
> spi1 = &ecspi2;
> spi2 = &ecspi3;
> + gpio0 = &gpio1;

Please keep the list alphabetically sorted.

Shawn

> + gpio1 = &gpio2;
> + gpio2 = &gpio3;
> + gpio3 = &gpio4;
> + gpio4 = &gpio5;
> };
>
> ckil: clock-ckil {
> --
> 2.7.4
>

2019-05-21 08:11:11

by Anson Huang

[permalink] [raw]
Subject: RE: [PATCH] arm64: dts: imx8mq: Add gpio alias

Hi, Shawn

> -----Original Message-----
> From: Shawn Guo [mailto:[email protected]]
> Sent: Tuesday, May 21, 2019 4:07 PM
> To: Anson Huang <[email protected]>
> Cc: [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> Abel Vesa <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected]; linux-
> [email protected]; [email protected]; dl-linux-imx
> <[email protected]>
> Subject: Re: [PATCH] arm64: dts: imx8mq: Add gpio alias
>
> On Tue, May 14, 2019 at 03:33:56AM +0000, Anson Huang wrote:
> > Add i.MX8MQ GPIO alias for kernel GPIO driver usage.
> >
> > Signed-off-by: Anson Huang <[email protected]>
> > ---
> > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > index 6d635ba..df33672 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > @@ -30,6 +30,11 @@
> > spi0 = &ecspi1;
> > spi1 = &ecspi2;
> > spi2 = &ecspi3;
> > + gpio0 = &gpio1;
>
> Please keep the list alphabetically sorted.

OK, will send V2 to fix it.

Anson.

>
> Shawn
>
> > + gpio1 = &gpio2;
> > + gpio2 = &gpio3;
> > + gpio3 = &gpio4;
> > + gpio4 = &gpio5;
> > };
> >
> > ckil: clock-ckil {
> > --
> > 2.7.4
> >