diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-21 09:15:57 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-06-21 09:15:57 -0400 |
commit | e7692e2cfd51324dad04273c97f025eaa3899aff (patch) | |
tree | 296e493278431c5213e4665c73f5f09bac7859de /Documentation/devicetree/bindings/gpio | |
parent | d405534dcd1e17429befc0e38048c73a3affd2b9 (diff) | |
parent | e305062e94719ef543ae936dd56501b5a36406c6 (diff) |
Merge tag 'renesas-gpio-rcar2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/drivers
From Simon Horman:
Second Round of Renesas ARM based SoC GPIO R-Car updates for v3.11
Documentation enhancement and code cleanup by Laurent Pinchart.
* tag 'renesas-gpio-rcar2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections
gpio-rcar: Reference core gpio documentation in the DT bindings
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt index 46d76a004246..cb3dc7bcd8e6 100644 --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | |||
@@ -16,18 +16,12 @@ Required Properties: | |||
16 | 16 | ||
17 | - gpio-controller: Marks the device node as a gpio controller. | 17 | - gpio-controller: Marks the device node as a gpio controller. |
18 | - #gpio-cells: Should be 2. The first cell is the GPIO number and the second | 18 | - #gpio-cells: Should be 2. The first cell is the GPIO number and the second |
19 | cell is used to specify optional parameters as bit flags. Only the GPIO | 19 | cell specifies GPIO flags, as defined in <dt-bindings/gpio/gpio.h>. Only the |
20 | active low flag (bit 0) is currently supported. | 20 | GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW flags are supported. |
21 | - gpio-ranges: Range of pins managed by the GPIO controller as a 4-cells | 21 | - gpio-ranges: Range of pins managed by the GPIO controller. |
22 | tuple using the following syntax. | 22 | |
23 | 23 | Please refer to gpio.txt in this directory for details of gpio-ranges property | |
24 | <[phandle of the pin controller node] | 24 | and the common GPIO bindings used by client devices. |
25 | 0 | ||
26 | [index of the first pin] | ||
27 | [number of pins]> | ||
28 | |||
29 | Please refer to gpio.txt in this directory for details of the common GPIO | ||
30 | bindings used by client devices. | ||
31 | 25 | ||
32 | Example: R8A7779 (R-Car H1) GPIO controller nodes | 26 | Example: R8A7779 (R-Car H1) GPIO controller nodes |
33 | 27 | ||