linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: imx8mq: Add gpio-ranges property
@ 2019-07-02  1:43 Anson.Huang
  2019-07-02  1:44 ` [PATCH 2/2] arm64: dts: imx8mm: " Anson.Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anson.Huang @ 2019-07-02  1:43 UTC (permalink / raw)
  To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
	leonard.crestez, viresh.kumar, ping.bai, daniel.baluta, l.stach,
	abel.vesa, andrew.smirnov, angus, ccaione, agx, devicetree,
	linux-arm-kernel, linux-kernel
  Cc: Linux-imx

From: Anson Huang <Anson.Huang@nxp.com>

Add "gpio-ranges" property to establish connections between GPIOs
and PINs on i.MX8MQ pinctrl driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 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 477c523..3187428 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -287,6 +287,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 10 30>;
 			};
 
 			gpio2: gpio@30210000 {
@@ -299,6 +300,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 40 21>;
 			};
 
 			gpio3: gpio@30220000 {
@@ -311,6 +313,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 61 26>;
 			};
 
 			gpio4: gpio@30230000 {
@@ -323,6 +326,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 87 32>;
 			};
 
 			gpio5: gpio@30240000 {
@@ -335,6 +339,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 119 30>;
 			};
 
 			tmu: tmu@30260000 {
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: imx8mm: Add gpio-ranges property
  2019-07-02  1:43 [PATCH 1/2] arm64: dts: imx8mq: Add gpio-ranges property Anson.Huang
@ 2019-07-02  1:44 ` Anson.Huang
  2019-07-02  7:10 ` [PATCH 1/2] arm64: dts: imx8mq: " Abel Vesa
  2019-07-18  8:14 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Anson.Huang @ 2019-07-02  1:44 UTC (permalink / raw)
  To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
	leonard.crestez, viresh.kumar, ping.bai, daniel.baluta, l.stach,
	abel.vesa, andrew.smirnov, angus, ccaione, agx, devicetree,
	linux-arm-kernel, linux-kernel
  Cc: Linux-imx

From: Anson Huang <Anson.Huang@nxp.com>

Add "gpio-ranges" property to establish connections between GPIOs
and PINs on i.MX8MM pinctrl driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index ea15457..b11fc5e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -312,6 +312,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 10 30>;
 			};
 
 			gpio2: gpio@30210000 {
@@ -324,6 +325,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 40 21>;
 			};
 
 			gpio3: gpio@30220000 {
@@ -336,6 +338,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 61 26>;
 			};
 
 			gpio4: gpio@30230000 {
@@ -348,6 +351,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 87 32>;
 			};
 
 			gpio5: gpio@30240000 {
@@ -360,6 +364,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
+				gpio-ranges = <&iomuxc 0 119 30>;
 			};
 
 			wdog1: watchdog@30280000 {
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] arm64: dts: imx8mq: Add gpio-ranges property
  2019-07-02  1:43 [PATCH 1/2] arm64: dts: imx8mq: Add gpio-ranges property Anson.Huang
  2019-07-02  1:44 ` [PATCH 2/2] arm64: dts: imx8mm: " Anson.Huang
@ 2019-07-02  7:10 ` Abel Vesa
  2019-07-18  8:14 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Abel Vesa @ 2019-07-02  7:10 UTC (permalink / raw)
  To: Anson Huang
  Cc: mark.rutland, devicetree, Jacky Bai, ccaione, andrew.smirnov,
	shawnguo, s.hauer, angus, linux-kernel, Daniel Baluta, robh+dt,
	dl-linux-imx, kernel, viresh.kumar, Leonard Crestez, festevam,
	agx, linux-arm-kernel, l.stach

On 19-07-02 09:43:59, Anson.Huang@nxp.com wrote:
> From: Anson Huang <Anson.Huang@nxp.com>
> 
> Add "gpio-ranges" property to establish connections between GPIOs
> and PINs on i.MX8MQ pinctrl driver.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

For both patches:

Reviewed-by: Abel Vesa <abel.vesa@nxp.com>

> ---
>  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 477c523..3187428 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -287,6 +287,7 @@
>  				#gpio-cells = <2>;
>  				interrupt-controller;
>  				#interrupt-cells = <2>;
> +				gpio-ranges = <&iomuxc 0 10 30>;
>  			};
>  
>  			gpio2: gpio@30210000 {
> @@ -299,6 +300,7 @@
>  				#gpio-cells = <2>;
>  				interrupt-controller;
>  				#interrupt-cells = <2>;
> +				gpio-ranges = <&iomuxc 0 40 21>;
>  			};
>  
>  			gpio3: gpio@30220000 {
> @@ -311,6 +313,7 @@
>  				#gpio-cells = <2>;
>  				interrupt-controller;
>  				#interrupt-cells = <2>;
> +				gpio-ranges = <&iomuxc 0 61 26>;
>  			};
>  
>  			gpio4: gpio@30230000 {
> @@ -323,6 +326,7 @@
>  				#gpio-cells = <2>;
>  				interrupt-controller;
>  				#interrupt-cells = <2>;
> +				gpio-ranges = <&iomuxc 0 87 32>;
>  			};
>  
>  			gpio5: gpio@30240000 {
> @@ -335,6 +339,7 @@
>  				#gpio-cells = <2>;
>  				interrupt-controller;
>  				#interrupt-cells = <2>;
> +				gpio-ranges = <&iomuxc 0 119 30>;
>  			};
>  
>  			tmu: tmu@30260000 {
> -- 
> 2.7.4
> 
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] arm64: dts: imx8mq: Add gpio-ranges property
  2019-07-02  1:43 [PATCH 1/2] arm64: dts: imx8mq: Add gpio-ranges property Anson.Huang
  2019-07-02  1:44 ` [PATCH 2/2] arm64: dts: imx8mm: " Anson.Huang
  2019-07-02  7:10 ` [PATCH 1/2] arm64: dts: imx8mq: " Abel Vesa
@ 2019-07-18  8:14 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2019-07-18  8:14 UTC (permalink / raw)
  To: Anson.Huang
  Cc: mark.rutland, devicetree, ping.bai, ccaione, andrew.smirnov,
	viresh.kumar, s.hauer, angus, linux-kernel, daniel.baluta,
	abel.vesa, robh+dt, Linux-imx, kernel, leonard.crestez, festevam,
	agx, linux-arm-kernel, l.stach

On Tue, Jul 02, 2019 at 09:43:59AM +0800, Anson.Huang@nxp.com wrote:
> From: Anson Huang <Anson.Huang@nxp.com>
> 
> Add "gpio-ranges" property to establish connections between GPIOs
> and PINs on i.MX8MQ pinctrl driver.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied both, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-18  8:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-02  1:43 [PATCH 1/2] arm64: dts: imx8mq: Add gpio-ranges property Anson.Huang
2019-07-02  1:44 ` [PATCH 2/2] arm64: dts: imx8mm: " Anson.Huang
2019-07-02  7:10 ` [PATCH 1/2] arm64: dts: imx8mq: " Abel Vesa
2019-07-18  8:14 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).