From: Andrew F. Davis Date: Wed, 4 Nov 2015 17:12:12 +0000 (-0600) Subject: gpio: tps65086: Add DT bindings for the TPS65086 GPO controller X-Git-Tag: v4.14-rc1~3997^2~221 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=615b8a969d0fb623a4067ad6afa9590ca5dcaf63;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Rob Herring Signed-off-by: Linus Walleij --- diff --git a/Documentation/devicetree/bindings/gpio/gpio-tps65086.txt b/Documentation/devicetree/bindings/gpio/gpio-tps65086.txt new file mode 100644 index 0000000..ba05107 --- /dev/null +++ b/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>; + };