]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
gpio: gpio-dwapb size-cells should be two
authorAlan Tull <atull@altera.com>
Fri, 14 Mar 2014 16:08:54 +0000 (11:08 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Mar 2014 16:26:32 +0000 (17:26 +0100)
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>
Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt

index 093495018c1bf64cbec49d9986e2f357f10a5c78..91cc90c6cf67799fadf8d1d9739546f100312d2f 100644 (file)
@@ -12,7 +12,10 @@ represented as child nodes with the following properties:
 Required properties:
 - compatible : "snps,dw-apb-gpio-port"
 - gpio-controller : Marks the device node as a gpio controller.
-- #gpio-cells : Should be 1.  It is the pin number.
+- #gpio-cells : Should be two.  The first cell is the pin number and
+  the second cell is used to specify the gpio polarity:
+      0 = active high
+      1 = active low
 - reg : The integer port index of the port, a single cell.
 
 Optional properties: