summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-06-18 12:29:48 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-06-19 21:38:31 +0900
commitb559c3e8e7ca469921987925baf892ab2038396e (patch)
tree1e69cf0a540184b87a570ad6f6b9e1e1a89c7543 /Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
parent159f8a0209aff155af7f6fcdedd4a4484dd19c23 (diff)
gpio-rcar: Reference core gpio documentation in the DT bindings
Replaced the detailed gpio-ranges documentation with a reference to the code gpio DT bindings, and mention the gpio flags symbolic names. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt')
-rw-r--r--Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt18
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:
- gpio-controller: Marks the device node as a gpio controller.
- #gpio-cells: Should be 2. The first cell is the GPIO number and the second
- cell is used to specify optional parameters as bit flags. Only the GPIO
- active low flag (bit 0) is currently supported.
- - gpio-ranges: Range of pins managed by the GPIO controller as a 4-cells
- tuple using the following syntax.
-
- <[phandle of the pin controller node]
- 0
- [index of the first pin]
- [number of pins]>
-
-Please refer to gpio.txt in this directory for details of the common GPIO
-bindings used by client devices.
+ cell specifies GPIO flags, as defined in <dt-bindings/gpio/gpio.h>. Only the
+ GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW flags are supported.
+ - gpio-ranges: Range of pins managed by the GPIO controller.
+
+Please refer to gpio.txt in this directory for details of gpio-ranges property
+and the common GPIO bindings used by client devices.
Example: R8A7779 (R-Car H1) GPIO controller nodes