Skip to contentSkip to conversation

gpio: gpio-dwapb size-cells should be two

PATCH In review Alan Tull 2 participants 2 messages Mar 14, 2014

Subsystems (2)
lore
Share & tools
lore

Alan Tull

author
#0 lore raw

PATCH 1/1 gpio: gpio-dwapb size-cells should be two

From: Alan Tull <[email protected]>

Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag.

---
 .../devicetree/bindings/gpio/snps-dwapb-gpio.txt   |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt +4 -1
index 0934950..91cc90c 100644
@@ -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:
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html