All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings
@ 2013-07-04 17:44 ` Laurent Pinchart
  0 siblings, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2013-07-04 17:44 UTC (permalink / raw)
  To: linux-gpio; +Cc: linux-sh, devicetree-discuss, Magnus Damm

Update the DT bindings documentation with the interrupt-controller
and #interrupt-cells properties.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
index cb3dc7b..8655df9 100644
--- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
+++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
@@ -23,6 +23,10 @@ Required Properties:
 Please refer to gpio.txt in this directory for details of gpio-ranges property
 and the common GPIO bindings used by client devices.
 
+The GPIO controller also acts as an interrupt controller. It uses the default
+two cells specifier as described in Documentation/devicetree/bindings/
+interrupt-controller/interrupts.txt.
+
 Example: R8A7779 (R-Car H1) GPIO controller nodes
 
 	gpio0: gpio@ffc40000 {
@@ -33,6 +37,8 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
 		#gpio-cells = <2>;
 		gpio-controller;
 		gpio-ranges = <&pfc 0 0 32>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
 	};
 	...
 	gpio6: gpio@ffc46000 {
@@ -43,4 +49,6 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
 		#gpio-cells = <2>;
 		gpio-controller;
 		gpio-ranges = <&pfc 0 192 9>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
 	};
-- 
Regards,

Laurent Pinchart


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

* [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings
@ 2013-07-04 17:44 ` Laurent Pinchart
  0 siblings, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2013-07-04 17:44 UTC (permalink / raw)
  To: linux-gpio; +Cc: linux-sh, devicetree-discuss, Magnus Damm

Update the DT bindings documentation with the interrupt-controller
and #interrupt-cells properties.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
index cb3dc7b..8655df9 100644
--- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
+++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
@@ -23,6 +23,10 @@ Required Properties:
 Please refer to gpio.txt in this directory for details of gpio-ranges property
 and the common GPIO bindings used by client devices.
 
+The GPIO controller also acts as an interrupt controller. It uses the default
+two cells specifier as described in Documentation/devicetree/bindings/
+interrupt-controller/interrupts.txt.
+
 Example: R8A7779 (R-Car H1) GPIO controller nodes
 
 	gpio0: gpio@ffc40000 {
@@ -33,6 +37,8 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
 		#gpio-cells = <2>;
 		gpio-controller;
 		gpio-ranges = <&pfc 0 0 32>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
 	};
 	...
 	gpio6: gpio@ffc46000 {
@@ -43,4 +49,6 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
 		#gpio-cells = <2>;
 		gpio-controller;
 		gpio-ranges = <&pfc 0 192 9>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
 	};
-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings
  2013-07-04 17:44 ` Laurent Pinchart
@ 2013-07-16  9:49   ` Laurent Pinchart
  -1 siblings, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2013-07-16  9:49 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-sh, devicetree-discuss, Magnus Damm

Hi Linus,

On Thursday 04 July 2013 19:44:39 Laurent Pinchart wrote:
> Update the DT bindings documentation with the interrupt-controller
> and #interrupt-cells properties.

Patches that make use of this binding have been merged to Simon's tree. Could 
you consider merging this patch in your tree (or tell me I've got something 
completely wrong and ask me to fix it :-)) ?

> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
>  Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt index
> cb3dc7b..8655df9 100644
> --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> @@ -23,6 +23,10 @@ Required Properties:
>  Please refer to gpio.txt in this directory for details of gpio-ranges
> property and the common GPIO bindings used by client devices.
> 
> +The GPIO controller also acts as an interrupt controller. It uses the
> default
> +two cells specifier as described in Documentation/devicetree/bindings/
> +interrupt-controller/interrupts.txt.
> +
>  Example: R8A7779 (R-Car H1) GPIO controller nodes
> 
>  	gpio0: gpio@ffc40000 {
> @@ -33,6 +37,8 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
>  		#gpio-cells = <2>;
>  		gpio-controller;
>  		gpio-ranges = <&pfc 0 0 32>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
>  	};
>  	...
>  	gpio6: gpio@ffc46000 {
> @@ -43,4 +49,6 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
>  		#gpio-cells = <2>;
>  		gpio-controller;
>  		gpio-ranges = <&pfc 0 192 9>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
>  	};
-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings
@ 2013-07-16  9:49   ` Laurent Pinchart
  0 siblings, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2013-07-16  9:49 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-sh, devicetree-discuss, Magnus Damm

Hi Linus,

On Thursday 04 July 2013 19:44:39 Laurent Pinchart wrote:
> Update the DT bindings documentation with the interrupt-controller
> and #interrupt-cells properties.

Patches that make use of this binding have been merged to Simon's tree. Could 
you consider merging this patch in your tree (or tell me I've got something 
completely wrong and ask me to fix it :-)) ?

> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
>  Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt index
> cb3dc7b..8655df9 100644
> --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
> @@ -23,6 +23,10 @@ Required Properties:
>  Please refer to gpio.txt in this directory for details of gpio-ranges
> property and the common GPIO bindings used by client devices.
> 
> +The GPIO controller also acts as an interrupt controller. It uses the
> default
> +two cells specifier as described in Documentation/devicetree/bindings/
> +interrupt-controller/interrupts.txt.
> +
>  Example: R8A7779 (R-Car H1) GPIO controller nodes
> 
>  	gpio0: gpio@ffc40000 {
> @@ -33,6 +37,8 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
>  		#gpio-cells = <2>;
>  		gpio-controller;
>  		gpio-ranges = <&pfc 0 0 32>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
>  	};
>  	...
>  	gpio6: gpio@ffc46000 {
> @@ -43,4 +49,6 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes
>  		#gpio-cells = <2>;
>  		gpio-controller;
>  		gpio-ranges = <&pfc 0 192 9>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
>  	};
-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings
  2013-07-04 17:44 ` Laurent Pinchart
@ 2013-07-20 20:29   ` Linus Walleij
  -1 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2013-07-20 20:29 UTC (permalink / raw)
  To: Laurent Pinchart, devicetree
  Cc: linux-gpio, linux-sh, devicetree-discuss, Magnus Damm

On Thu, Jul 4, 2013 at 7:44 PM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:

> Update the DT bindings documentation with the interrupt-controller
> and #interrupt-cells properties.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Usually I should have an ACK from some DT person (they are on
devicetree@vger.kernel.org nowadays) but this one is so straight forward
that I just applied it. But they may instead protest :-)

Yours,
Linus Walleij

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

* Re: [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings
@ 2013-07-20 20:29   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2013-07-20 20:29 UTC (permalink / raw)
  To: Laurent Pinchart, devicetree
  Cc: linux-gpio, linux-sh, devicetree-discuss, Magnus Damm

On Thu, Jul 4, 2013 at 7:44 PM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:

> Update the DT bindings documentation with the interrupt-controller
> and #interrupt-cells properties.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Usually I should have an ACK from some DT person (they are on
devicetree@vger.kernel.org nowadays) but this one is so straight forward
that I just applied it. But they may instead protest :-)

Yours,
Linus Walleij

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

end of thread, other threads:[~2013-07-20 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-04 17:44 [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings Laurent Pinchart
2013-07-04 17:44 ` Laurent Pinchart
2013-07-16  9:49 ` Laurent Pinchart
2013-07-16  9:49   ` Laurent Pinchart
2013-07-20 20:29 ` Linus Walleij
2013-07-20 20:29   ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.