gpio: New driver for LSI ZEVIO SoCs
authorFabian Vogt <fabian@ritter-vogt.de>
Mon, 24 Feb 2014 19:54:58 +0000 (20:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Feb 2014 09:30:42 +0000 (10:30 +0100)
This driver supports the GPIO controller found in LSI ZEVIO SoCs.
It has been successfully tested on a TI nspire CX calculator.

Signed-off-by: Fabian Vogt <fabian@ritter-vogt.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-zevio.txt [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-zevio.c [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/gpio/gpio-zevio.txt b/Documentation/devicetree/bindings/gpio/gpio-zevio.txt
new file mode 100644 (file)
index 0000000..a37bd9a
--- /dev/null
@@ -0,0 +1,16 @@
+Zevio GPIO controller
+
+Required properties:
+- compatible: Should be "lsi,zevio-gpio"
+- reg: Address and length of the register set for the device
+- #gpio-cells: Should be two. The first cell is the pin number and the
+  second cell is used to specify optional parameters (currently unused).
+- gpio-controller: Marks the device node as a GPIO controller.
+
+Example:
+       gpio: gpio@90000000 {
+               compatible = "lsi,zevio-gpio";
+               reg = <0x90000000 0x1000>;
+               gpio-controller;
+               #gpio-cells = <2>;
+       };
Simple merge
Simple merge
Simple merge