]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dt-bindings: GPIO: Add TPIC2810 binding
authorAndrew F. Davis <afd@ti.com>
Tue, 23 Aug 2016 11:45:15 +0000 (14:45 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 24 Aug 2016 12:20:32 +0000 (14:20 +0200)
Add binding for TPIC2810 GPO device.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt b/Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt
new file mode 100644 (file)
index 0000000..1afc2de
--- /dev/null
@@ -0,0 +1,16 @@
+TPIC2810 GPIO controller bindings
+
+Required properties:
+ - compatible          : Should be "ti,tpic2810".
+ - reg                 : The I2C address of the device
+ - gpio-controller     : Marks the device node as a GPIO controller.
+ - #gpio-cells         : Should be two. For consumer use see gpio.txt.
+
+Example:
+
+       gpio@60 {
+               compatible = "ti,tpic2810";
+               reg = <0x60>;
+               gpio-controller;
+               #gpio-cells = <2>;
+       };