diff mbox

ARM: dts: am33xx: Correct gpio #interrupt-cells property

Message ID 1375873592-26881-1-git-send-email-larsi@wh2.tu-dresden.de (mailing list archive)
State Accepted
Headers show

Commit Message

larsi@wh2.tu-dresden.de Aug. 7, 2013, 11:06 a.m. UTC
From: Lars Poeschel <poeschel@lemonage.de>

Following commit ff5c9059 and therefore other omap platforms using
the gpio-omap driver correct the #interrupt-cells property on am33xx
too. The omap gpio binding documentaion also states that
the #interrupt-cells property should be 2.

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
---
 arch/arm/boot/dts/am33xx.dtsi |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Javier Martinez Canillas Aug. 7, 2013, 11:27 a.m. UTC | #1
On Wed, Aug 7, 2013 at 1:06 PM, Lars Poeschel <larsi@wh2.tu-dresden.de> wrote:
> From: Lars Poeschel <poeschel@lemonage.de>
>
> Following commit ff5c9059 and therefore other omap platforms using
> the gpio-omap driver correct the #interrupt-cells property on am33xx
> too. The omap gpio binding documentaion also states that
> the #interrupt-cells property should be 2.
>
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
> ---
>  arch/arm/boot/dts/am33xx.dtsi |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 38b446b..033c5dd 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -102,7 +102,7 @@
>                         gpio-controller;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
> -                       #interrupt-cells = <1>;
> +                       #interrupt-cells = <2>;
>                         reg = <0x44e07000 0x1000>;
>                         interrupts = <96>;
>                 };
> @@ -113,7 +113,7 @@
>                         gpio-controller;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
> -                       #interrupt-cells = <1>;
> +                       #interrupt-cells = <2>;
>                         reg = <0x4804c000 0x1000>;
>                         interrupts = <98>;
>                 };
> @@ -124,7 +124,7 @@
>                         gpio-controller;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
> -                       #interrupt-cells = <1>;
> +                       #interrupt-cells = <2>;
>                         reg = <0x481ac000 0x1000>;
>                         interrupts = <32>;
>                 };
> @@ -135,7 +135,7 @@
>                         gpio-controller;
>                         #gpio-cells = <2>;
>                         interrupt-controller;
> -                       #interrupt-cells = <1>;
> +                       #interrupt-cells = <2>;
>                         reg = <0x481ae000 0x1000>;
>                         interrupts = <62>;
>                 };
> --
> 1.7.10.4
>
>

Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Mark Rutland Aug. 7, 2013, 2:53 p.m. UTC | #2
On Wed, Aug 07, 2013 at 12:06:32PM +0100, Lars Poeschel wrote:
> From: Lars Poeschel <poeschel@lemonage.de>
> 
> Following commit ff5c9059 and therefore other omap platforms using
> the gpio-omap driver correct the #interrupt-cells property on am33xx
> too. The omap gpio binding documentaion also states that
> the #interrupt-cells property should be 2.

I take it there are no device nodes for which any of these nodes are an
interrupt parent (which would need to be updated)?

If so:

Acked-by: Mark Rutland <mark.rutland@arm.com>

Thanks,
Mark.

> 
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
> ---
>  arch/arm/boot/dts/am33xx.dtsi |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 38b446b..033c5dd 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -102,7 +102,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x44e07000 0x1000>;
>  			interrupts = <96>;
>  		};
> @@ -113,7 +113,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x4804c000 0x1000>;
>  			interrupts = <98>;
>  		};
> @@ -124,7 +124,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x481ac000 0x1000>;
>  			interrupts = <32>;
>  		};
> @@ -135,7 +135,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x481ae000 0x1000>;
>  			interrupts = <62>;
>  		};
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Lars Poeschel Aug. 7, 2013, 3:11 p.m. UTC | #3
On Wednesday 07 August 2013 at 16:53:09, Mark Rutland wrote:
> On Wed, Aug 07, 2013 at 12:06:32PM +0100, Lars Poeschel wrote:
> > From: Lars Poeschel <poeschel@lemonage.de>
> > 
> > Following commit ff5c9059 and therefore other omap platforms using
> > the gpio-omap driver correct the #interrupt-cells property on am33xx
> > too. The omap gpio binding documentaion also states that
> > the #interrupt-cells property should be 2.
> 
> I take it there are no device nodes for which any of these nodes are an
> interrupt parent (which would need to be updated)?

As far as I know: No.

Lars

> If so:
> 
> Acked-by: Mark Rutland <mark.rutland@arm.com>
> 
> Thanks,
> Mark.
> 
> > Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
> > ---
> > 
> >  arch/arm/boot/dts/am33xx.dtsi |    8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> > 
> > diff --git a/arch/arm/boot/dts/am33xx.dtsi
> > b/arch/arm/boot/dts/am33xx.dtsi index 38b446b..033c5dd 100644
> > --- a/arch/arm/boot/dts/am33xx.dtsi
> > +++ b/arch/arm/boot/dts/am33xx.dtsi
> > @@ -102,7 +102,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x44e07000 0x1000>;
> >  			interrupts = <96>;
> >  		
> >  		};
> > 
> > @@ -113,7 +113,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x4804c000 0x1000>;
> >  			interrupts = <98>;
> >  		
> >  		};
> > 
> > @@ -124,7 +124,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x481ac000 0x1000>;
> >  			interrupts = <32>;
> >  		
> >  		};
> > 
> > @@ -135,7 +135,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x481ae000 0x1000>;
> >  			interrupts = <62>;
> >  		
> >  		};
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Benoit Cousson Aug. 13, 2013, 1:25 p.m. UTC | #4
Hi lars,

On 07/08/2013 17:11, Lars Poeschel wrote:
> On Wednesday 07 August 2013 at 16:53:09, Mark Rutland wrote:
>> On Wed, Aug 07, 2013 at 12:06:32PM +0100, Lars Poeschel wrote:
>>> From: Lars Poeschel <poeschel@lemonage.de>
>>>
>>> Following commit ff5c9059 and therefore other omap platforms using
>>> the gpio-omap driver correct the #interrupt-cells property on am33xx
>>> too. The omap gpio binding documentaion also states that
>>> the #interrupt-cells property should be 2.
>>
>> I take it there are no device nodes for which any of these nodes are an
>> interrupt parent (which would need to be updated)?
>
> As far as I know: No.
>
> Lars
>
>> If so:
>>
>> Acked-by: Mark Rutland <mark.rutland@arm.com>
>>
>> Thanks,
>> Mark.
>>
>>> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>

Thank, applied with Mark and Javier A-By / R-By.

Thanks,
Benoit


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren Aug. 21, 2013, 7:50 a.m. UTC | #5
Benoit,

Care to take a look at this too?

* Lars Poeschel <larsi@wh2.tu-dresden.de> [130807 04:14]:
> From: Lars Poeschel <poeschel@lemonage.de>
> 
> Following commit ff5c9059 and therefore other omap platforms using
> the gpio-omap driver correct the #interrupt-cells property on am33xx
> too. The omap gpio binding documentaion also states that
> the #interrupt-cells property should be 2.
> 
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
> ---
>  arch/arm/boot/dts/am33xx.dtsi |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 38b446b..033c5dd 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -102,7 +102,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x44e07000 0x1000>;
>  			interrupts = <96>;
>  		};
> @@ -113,7 +113,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x4804c000 0x1000>;
>  			interrupts = <98>;
>  		};
> @@ -124,7 +124,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x481ac000 0x1000>;
>  			interrupts = <32>;
>  		};
> @@ -135,7 +135,7 @@
>  			gpio-controller;
>  			#gpio-cells = <2>;
>  			interrupt-controller;
> -			#interrupt-cells = <1>;
> +			#interrupt-cells = <2>;
>  			reg = <0x481ae000 0x1000>;
>  			interrupts = <62>;
>  		};
> -- 
> 1.7.10.4
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Lars Poeschel Aug. 21, 2013, 7:57 a.m. UTC | #6
Hi Tony!

On Wednesday 21 August 2013 at 09:50:16, Tony Lindgren wrote:
> Benoit,
> 
> Care to take a look at this too?

Benoit already applied this with Mark Rutlands Acked-By and Javier Martinez 
Canillas Reviewed-by.

Regards,
Lars
 
> * Lars Poeschel <larsi@wh2.tu-dresden.de> [130807 04:14]:
> > From: Lars Poeschel <poeschel@lemonage.de>
> > 
> > Following commit ff5c9059 and therefore other omap platforms using
> > the gpio-omap driver correct the #interrupt-cells property on am33xx
> > too. The omap gpio binding documentaion also states that
> > the #interrupt-cells property should be 2.
> > 
> > Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
> > ---
> > 
> >  arch/arm/boot/dts/am33xx.dtsi |    8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> > 
> > diff --git a/arch/arm/boot/dts/am33xx.dtsi
> > b/arch/arm/boot/dts/am33xx.dtsi index 38b446b..033c5dd 100644
> > --- a/arch/arm/boot/dts/am33xx.dtsi
> > +++ b/arch/arm/boot/dts/am33xx.dtsi
> > @@ -102,7 +102,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x44e07000 0x1000>;
> >  			interrupts = <96>;
> >  		
> >  		};
> > 
> > @@ -113,7 +113,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x4804c000 0x1000>;
> >  			interrupts = <98>;
> >  		
> >  		};
> > 
> > @@ -124,7 +124,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x481ac000 0x1000>;
> >  			interrupts = <32>;
> >  		
> >  		};
> > 
> > @@ -135,7 +135,7 @@
> > 
> >  			gpio-controller;
> >  			#gpio-cells = <2>;
> >  			interrupt-controller;
> > 
> > -			#interrupt-cells = <1>;
> > +			#interrupt-cells = <2>;
> > 
> >  			reg = <0x481ae000 0x1000>;
> >  			interrupts = <62>;
> >  		
> >  		};

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren Aug. 21, 2013, 7:59 a.m. UTC | #7
* Lars Poeschel <poeschel@lemonage.de> [130821 01:04]:
> Hi Tony!
> 
> On Wednesday 21 August 2013 at 09:50:16, Tony Lindgren wrote:
> > Benoit,
> > 
> > Care to take a look at this too?
> 
> Benoit already applied this with Mark Rutlands Acked-By and Javier Martinez 
> Canillas Reviewed-by.

OK thanks for the update, I'm just trying to follow-up and clear
my inbox a bit.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Benoit Cousson Aug. 21, 2013, 9:25 a.m. UTC | #8
Hi Tony,

On 21/08/2013 09:59, Tony Lindgren wrote:
> * Lars Poeschel <poeschel@lemonage.de> [130821 01:04]:
>> Hi Tony!
>>
>> On Wednesday 21 August 2013 at 09:50:16, Tony Lindgren wrote:
>>> Benoit,
>>>
>>> Care to take a look at this too?
>>
>> Benoit already applied this with Mark Rutlands Acked-By and Javier Martinez
>> Canillas Reviewed-by.
>
> OK thanks for the update, I'm just trying to follow-up and clear
> my inbox a bit.

I've just checked, because I thought I missed it, and this is indeed in 
my pull request I sent you yesterday.

Thanks,
Benoit


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 38b446b..033c5dd 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -102,7 +102,7 @@ 
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 			reg = <0x44e07000 0x1000>;
 			interrupts = <96>;
 		};
@@ -113,7 +113,7 @@ 
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 			reg = <0x4804c000 0x1000>;
 			interrupts = <98>;
 		};
@@ -124,7 +124,7 @@ 
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 			reg = <0x481ac000 0x1000>;
 			interrupts = <32>;
 		};
@@ -135,7 +135,7 @@ 
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 			reg = <0x481ae000 0x1000>;
 			interrupts = <62>;
 		};