diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-04 13:44:39 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2013-07-20 16:28:12 -0400 |
| commit | f8b1bd71d0c5c9fdcd4458c1688208eaf06a26fb (patch) | |
| tree | 4800fb23c5cf8511fee493b8672c34b0e9625738 | |
| parent | a5d28d79f568a0a2792e3135b304a82b1f91d4ad (diff) | |
gpio-rcar: Add interrupt controller support to the DT bindings
Update the DT bindings documentation with the interrupt-controller
and #interrupt-cells properties.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
| -rw-r--r-- | Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt index cb3dc7bcd8e6..8655df9440d5 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: | |||
| 23 | Please refer to gpio.txt in this directory for details of gpio-ranges property | 23 | Please refer to gpio.txt in this directory for details of gpio-ranges property |
| 24 | and the common GPIO bindings used by client devices. | 24 | and the common GPIO bindings used by client devices. |
| 25 | 25 | ||
| 26 | The GPIO controller also acts as an interrupt controller. It uses the default | ||
| 27 | two cells specifier as described in Documentation/devicetree/bindings/ | ||
| 28 | interrupt-controller/interrupts.txt. | ||
| 29 | |||
| 26 | Example: R8A7779 (R-Car H1) GPIO controller nodes | 30 | Example: R8A7779 (R-Car H1) GPIO controller nodes |
| 27 | 31 | ||
| 28 | gpio0: gpio@ffc40000 { | 32 | gpio0: gpio@ffc40000 { |
| @@ -33,6 +37,8 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes | |||
| 33 | #gpio-cells = <2>; | 37 | #gpio-cells = <2>; |
| 34 | gpio-controller; | 38 | gpio-controller; |
| 35 | gpio-ranges = <&pfc 0 0 32>; | 39 | gpio-ranges = <&pfc 0 0 32>; |
| 40 | interrupt-controller; | ||
| 41 | #interrupt-cells = <2>; | ||
| 36 | }; | 42 | }; |
| 37 | ... | 43 | ... |
| 38 | gpio6: gpio@ffc46000 { | 44 | gpio6: gpio@ffc46000 { |
| @@ -43,4 +49,6 @@ Example: R8A7779 (R-Car H1) GPIO controller nodes | |||
| 43 | #gpio-cells = <2>; | 49 | #gpio-cells = <2>; |
| 44 | gpio-controller; | 50 | gpio-controller; |
| 45 | gpio-ranges = <&pfc 0 192 9>; | 51 | gpio-ranges = <&pfc 0 192 9>; |
| 52 | interrupt-controller; | ||
| 53 | #interrupt-cells = <2>; | ||
| 46 | }; | 54 | }; |
