gpio: tps65086: Add DT bindings for the TPS65086 GPO controller
authorAndrew F. Davis <afd@ti.com>
Wed, 4 Nov 2015 17:12:12 +0000 (11:12 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Nov 2015 08:24:36 +0000 (09:24 +0100)
The TPS65086 PMIC contains several regulators and a GPO controller.
Add bindings for the TPS65086 GPO controller.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-tps65086.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/gpio/gpio-tps65086.txt b/Documentation/devicetree/bindings/gpio/gpio-tps65086.txt
new file mode 100644 (file)
index 0000000..ba05107
--- /dev/null
@@ -0,0 +1,16 @@
+* TPS65086 GPO Controller bindings
+
+Required properties:
+ - compatible          : Should be "ti,tps65086-gpio".
+ - gpio-controller     : Marks the device node as a GPIO Controller.
+ - #gpio-cells         : Should be two. The first cell is the pin number
+                           and the second cell is used to specify flags.
+                           See ../gpio/gpio.txt for possible values.
+
+Example:
+
+       gpio4: gpio {
+               compatible = "ti,tps65086-gpio";
+               gpio-controller;
+               #gpio-cells = <2>;
+       };