Browse Source

gpio: tps65086: Add DT bindings for the TPS65086 GPO controller

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>
Andrew F. Davis 10 years ago
parent
commit
615b8a969d
1 changed files with 16 additions and 0 deletions
  1. 16 0
      Documentation/devicetree/bindings/gpio/gpio-tps65086.txt

+ 16 - 0
Documentation/devicetree/bindings/gpio/gpio-tps65086.txt

@@ -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>;
+	};