devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: at91/dt: sama5d4: update pinctrl ranges
@ 2015-04-27  9:15 Ludovic Desroches
  2015-05-18 15:52 ` Nicolas Ferre
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Desroches @ 2015-04-27  9:15 UTC (permalink / raw)
  To: nicolas.ferre
  Cc: plagnioj, linux-arm-kernel, devicetree, linux-kernel,
	Ludovic Desroches

Update the pinctrl ranges property to support pioD controller whose
mapping is not contiguous with other pio controllers. Without this
update, getting resource will fail, then pinctrl probe will fail too
because there is a missing pio controller.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
 arch/arm/boot/dts/sama5d4.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index 8679fa9..2cfc65f 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -1214,7 +1214,8 @@
 				#address-cells = <1>;
 				#size-cells = <1>;
 				compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
-				ranges = <0xfc06a000 0xfc06a000 0x4000>;
+				ranges = <0xfc068000 0xfc068000 0x100
+					  0xfc06a000 0xfc06a000 0x4000>;
 				/* WARNING: revisit as pin spec has changed */
 				atmel,mux-mask = <
 					/*   A          B          C  */
-- 
2.1.4

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

* Re: [PATCH] ARM: at91/dt: sama5d4: update pinctrl ranges
  2015-04-27  9:15 [PATCH] ARM: at91/dt: sama5d4: update pinctrl ranges Ludovic Desroches
@ 2015-05-18 15:52 ` Nicolas Ferre
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Ferre @ 2015-05-18 15:52 UTC (permalink / raw)
  To: Ludovic Desroches; +Cc: plagnioj, linux-arm-kernel, devicetree, linux-kernel

Le 27/04/2015 11:15, Ludovic Desroches a écrit :
> Update the pinctrl ranges property to support pioD controller whose
> mapping is not contiguous with other pio controllers. Without this
> update, getting resource will fail, then pinctrl probe will fail too
> because there is a missing pio controller.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Thanks.

> ---
>  arch/arm/boot/dts/sama5d4.dtsi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
> index 8679fa9..2cfc65f 100644
> --- a/arch/arm/boot/dts/sama5d4.dtsi
> +++ b/arch/arm/boot/dts/sama5d4.dtsi
> @@ -1214,7 +1214,8 @@
>  				#address-cells = <1>;
>  				#size-cells = <1>;
>  				compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
> -				ranges = <0xfc06a000 0xfc06a000 0x4000>;
> +				ranges = <0xfc068000 0xfc068000 0x100
> +					  0xfc06a000 0xfc06a000 0x4000>;
>  				/* WARNING: revisit as pin spec has changed */
>  				atmel,mux-mask = <
>  					/*   A          B          C  */
> 


-- 
Nicolas Ferre

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

end of thread, other threads:[~2015-05-18 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27  9:15 [PATCH] ARM: at91/dt: sama5d4: update pinctrl ranges Ludovic Desroches
2015-05-18 15:52 ` Nicolas Ferre

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).