Message ID | 1417750722-14027-5-git-send-email-wangzhou.bry@gmail.com |
---|---|
State | Needs Review / ACK, archived |
Headers | show |
Context | Check | Description |
---|---|---|
robh/checkpatch | warning | total: 1 errors, 0 warnings, 0 lines checked |
robh/patch-applied | success |
On Fri, Dec 5, 2014 at 4:38 AM, Zhou Wang <wangzhou.bry@gmail.com> wrote: > This property is used to indicate gpiochip_find_base() to find GPIO > base number in increasing order. > > Signed-off-by: Zhou Wang <wangzhou.bry@gmail.com> NAK. GPIO numbers is a Linux-internal thing, not a OS independent property. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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@20000 { reg = <0x20000 0x1000>; #address-cells = <1>; #size-cells = <0>; + gpio-number-forward; porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port";
This property is used to indicate gpiochip_find_base() to find GPIO base number in increasing order. Signed-off-by: Zhou Wang <wangzhou.bry@gmail.com> --- .../devicetree/bindings/gpio/snps-dwapb-gpio.txt | 2 ++ 1 file changed, 2 insertions(+)