diff options
author | Alan Tull <atull@altera.com> | 2014-03-14 12:08:54 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-03-14 12:26:32 -0400 |
commit | 1d4a2166f9501fd5b564b33414a2aa9c493fdfb8 (patch) | |
tree | a81f46aed81829c0ddfe325dd7a355b8d45dc7e5 | |
parent | 473ed7be0da041275d57ab0bde1c21a6f23e637f (diff) |
gpio: gpio-dwapb size-cells should be two
Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag.
Signed-off-by: Alan Tull <atull@altera.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt index 093495018c1b..91cc90c6cf67 100644 --- a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt +++ b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt | |||
@@ -12,7 +12,10 @@ represented as child nodes with the following properties: | |||
12 | Required properties: | 12 | Required properties: |
13 | - compatible : "snps,dw-apb-gpio-port" | 13 | - compatible : "snps,dw-apb-gpio-port" |
14 | - gpio-controller : Marks the device node as a gpio controller. | 14 | - gpio-controller : Marks the device node as a gpio controller. |
15 | - #gpio-cells : Should be 1. It is the pin number. | 15 | - #gpio-cells : Should be two. The first cell is the pin number and |
16 | the second cell is used to specify the gpio polarity: | ||
17 | 0 = active high | ||
18 | 1 = active low | ||
16 | - reg : The integer port index of the port, a single cell. | 19 | - reg : The integer port index of the port, a single cell. |
17 | 20 | ||
18 | Optional properties: | 21 | Optional properties: |