Commit b559c3e8 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman

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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 159f8a02
...@@ -16,18 +16,12 @@ Required Properties: ...@@ -16,18 +16,12 @@ Required Properties:
- gpio-controller: Marks the device node as a gpio controller. - 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 - #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 cell specifies GPIO flags, as defined in <dt-bindings/gpio/gpio.h>. Only the
active low flag (bit 0) is currently supported. GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW flags are supported.
- gpio-ranges: Range of pins managed by the GPIO controller as a 4-cells - gpio-ranges: Range of pins managed by the GPIO controller.
tuple using the following syntax.
Please refer to gpio.txt in this directory for details of gpio-ranges property
<[phandle of the pin controller node] and the common GPIO bindings used by client devices.
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.
Example: R8A7779 (R-Car H1) GPIO controller nodes Example: R8A7779 (R-Car H1) GPIO controller nodes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment