Thread (12 messages) 12 messages, 3 authors, 2015-01-14
STALE4181d

[PATCH v4 4/4] Documentation: dt: gpio: Add gpio-number-forward property in snps gpio binding doc

From: Zhou Wang <hidden>
Date: 2014-12-05 03:38:42
Also in: linux-devicetree, linux-gpio
Subsystem: gpio subsystem, open firmware and flattened device tree bindings, the rest · Maintainers: Linus Walleij, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

This property is used to indicate gpiochip_find_base() to find GPIO
base number in increasing order.

Signed-off-by: Zhou Wang <redacted>
---
 .../devicetree/bindings/gpio/snps-dwapb-gpio.txt   |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
index dd5d2c0..b7f01c8 100644
--- a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
@@ -29,6 +29,7 @@ controller.
 - interrupts : The interrupt to the parent controller raised when GPIOs
   generate the interrupts.
 - snps,nr-gpios : The number of pins in the port, a single cell.
+- gpio-number-forward : Will find GPIO base number in increasing order.
 
 Example:
 
@@ -37,6 +38,7 @@ gpio: gpio at 20000 {
 	reg = <0x20000 0x1000>;
 	#address-cells = <1>;
 	#size-cells = <0>;
+	gpio-number-forward;
 
 	porta: gpio-controller at 0 {
 		compatible = "snps,dw-apb-gpio-port";
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help