* [PATCH 1/1] gpio: omap: dts: Move interrupt-controller from #interrupt-cells description
@ 2013-03-04 18:35 Javier Martinez Canillas
2013-03-04 19:23 ` Jon Hunter
0 siblings, 1 reply; 3+ messages in thread
From: Javier Martinez Canillas @ 2013-03-04 18:35 UTC (permalink / raw)
To: Grant Likely
Cc: Rob Landley, Benoit Cousson, Stephen Warren, Jon Hunter,
devicetree-discuss, linux-omap, Javier Martinez Canillas
The binding documentation for the OMAP GPIO controller has the description
for the "#interrupt-cells" property after the "interrupt-controller"
definition. This is confusing so is better to move "interrupt-controller"
after the "#interrupt-cells" description.
Reported-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---
.../devicetree/bindings/gpio/gpio-omap.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/devicetree/bindings/gpio/gpio-omap.txt b/Documentation/devicetree/bindings/gpio/gpio-omap.txt
index bff51a2..8b9914c 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-omap.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-omap.txt
@@ -10,7 +10,6 @@ Required properties:
- second cell is used to specify optional parameters (unused)
- gpio-controller : Marks the device node as a GPIO controller.
- #interrupt-cells : Should be 2.
-- interrupt-controller: Mark the device node as an interrupt controller
The first cell is the GPIO number.
The second cell is used to specify flags:
bits[3:0] trigger type and level flags:
@@ -18,6 +17,7 @@ Required properties:
2 = high-to-low edge triggered.
4 = active high level-sensitive.
8 = active low level-sensitive.
+- interrupt-controller: Mark the device node as an interrupt controller.
OMAP specific properties:
- ti,hwmods: Name of the hwmod associated to the GPIO:
--
1.7.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/1] gpio: omap: dts: Move interrupt-controller from #interrupt-cells description
2013-03-04 18:35 [PATCH 1/1] gpio: omap: dts: Move interrupt-controller from #interrupt-cells description Javier Martinez Canillas
@ 2013-03-04 19:23 ` Jon Hunter
2013-03-04 20:44 ` Javier Martinez Canillas
0 siblings, 1 reply; 3+ messages in thread
From: Jon Hunter @ 2013-03-04 19:23 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: Grant Likely, Rob Landley, Benoit Cousson, Stephen Warren,
devicetree-discuss, linux-omap
On 03/04/2013 12:35 PM, Javier Martinez Canillas wrote:
> The binding documentation for the OMAP GPIO controller has the description
> for the "#interrupt-cells" property after the "interrupt-controller"
> definition. This is confusing so is better to move "interrupt-controller"
> after the "#interrupt-cells" description.
>
> Reported-by: Stephen Warren <swarren@nvidia.com>
> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> ---
> .../devicetree/bindings/gpio/gpio-omap.txt | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-omap.txt b/Documentation/devicetree/bindings/gpio/gpio-omap.txt
> index bff51a2..8b9914c 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-omap.txt
> +++ b/Documentation/devicetree/bindings/gpio/gpio-omap.txt
> @@ -10,7 +10,6 @@ Required properties:
> - second cell is used to specify optional parameters (unused)
> - gpio-controller : Marks the device node as a GPIO controller.
> - #interrupt-cells : Should be 2.
> -- interrupt-controller: Mark the device node as an interrupt controller
> The first cell is the GPIO number.
> The second cell is used to specify flags:
> bits[3:0] trigger type and level flags:
> @@ -18,6 +17,7 @@ Required properties:
> 2 = high-to-low edge triggered.
> 4 = active high level-sensitive.
> 8 = active low level-sensitive.
> +- interrupt-controller: Mark the device node as an interrupt controller.
>
> OMAP specific properties:
> - ti,hwmods: Name of the hwmod associated to the GPIO:
>
Thanks. Do you mind putting "interrupt-controller" before
"#interrupt-cells" as I see this is how they have it in
Documenation/devicetree/bindings/interrupt-controller/interrupts.txt?
Otherwise ...
Acked-by: Jon Hunter <jon-hunter@ti.com>
Cheers
Jon
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] gpio: omap: dts: Move interrupt-controller from #interrupt-cells description
2013-03-04 19:23 ` Jon Hunter
@ 2013-03-04 20:44 ` Javier Martinez Canillas
0 siblings, 0 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2013-03-04 20:44 UTC (permalink / raw)
To: Jon Hunter
Cc: Javier Martinez Canillas, Grant Likely, Rob Landley,
Benoit Cousson, Stephen Warren, devicetree-discuss, linux-omap
On Mon, Mar 4, 2013 at 8:23 PM, Jon Hunter <jon-hunter@ti.com> wrote:
>
> On 03/04/2013 12:35 PM, Javier Martinez Canillas wrote:
>> The binding documentation for the OMAP GPIO controller has the description
>> for the "#interrupt-cells" property after the "interrupt-controller"
>> definition. This is confusing so is better to move "interrupt-controller"
>> after the "#interrupt-cells" description.
>>
>> Reported-by: Stephen Warren <swarren@nvidia.com>
>> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>> ---
>> .../devicetree/bindings/gpio/gpio-omap.txt | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/gpio/gpio-omap.txt b/Documentation/devicetree/bindings/gpio/gpio-omap.txt
>> index bff51a2..8b9914c 100644
>> --- a/Documentation/devicetree/bindings/gpio/gpio-omap.txt
>> +++ b/Documentation/devicetree/bindings/gpio/gpio-omap.txt
>> @@ -10,7 +10,6 @@ Required properties:
>> - second cell is used to specify optional parameters (unused)
>> - gpio-controller : Marks the device node as a GPIO controller.
>> - #interrupt-cells : Should be 2.
>> -- interrupt-controller: Mark the device node as an interrupt controller
>> The first cell is the GPIO number.
>> The second cell is used to specify flags:
>> bits[3:0] trigger type and level flags:
>> @@ -18,6 +17,7 @@ Required properties:
>> 2 = high-to-low edge triggered.
>> 4 = active high level-sensitive.
>> 8 = active low level-sensitive.
>> +- interrupt-controller: Mark the device node as an interrupt controller.
>>
>> OMAP specific properties:
>> - ti,hwmods: Name of the hwmod associated to the GPIO:
>>
>
> Thanks. Do you mind putting "interrupt-controller" before
> "#interrupt-cells" as I see this is how they have it in
> Documenation/devicetree/bindings/interrupt-controller/interrupts.txt?
> Otherwise ...
>
> Acked-by: Jon Hunter <jon-hunter@ti.com>
>
> Cheers
> Jon
> --
Hi Jon, thanks for the feedback.
I just looked at Documentation/devicetree/bindings/gpio/gpio.txt and
realized that gpio-controller and #gpio-cells should be flipped as
well.
Will send a v2 with both changes.
Best regards,
Javier
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-04 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 18:35 [PATCH 1/1] gpio: omap: dts: Move interrupt-controller from #interrupt-cells description Javier Martinez Canillas
2013-03-04 19:23 ` Jon Hunter
2013-03-04 20:44 ` Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox