diff options
author | Fabian Vogt <fabian@ritter-vogt.de> | 2014-02-24 14:54:58 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-27 04:30:42 -0500 |
commit | 9af4d80ba5666579944f570e113c5a87444afbde (patch) | |
tree | d14c2c723ccc0b80134b8745b08ccbf7f2dbfe4d /Documentation/devicetree/bindings/gpio | |
parent | f29b9d13ddb32f84f33197042ca187c531cfda7a (diff) |
gpio: New driver for LSI ZEVIO SoCs
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>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-zevio.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-zevio.txt b/Documentation/devicetree/bindings/gpio/gpio-zevio.txt new file mode 100644 index 000000000000..a37bd9ae2730 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-zevio.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | Zevio GPIO controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "lsi,zevio-gpio" | ||
5 | - reg: Address and length of the register set for the device | ||
6 | - #gpio-cells: Should be two. The first cell is the pin number and the | ||
7 | second cell is used to specify optional parameters (currently unused). | ||
8 | - gpio-controller: Marks the device node as a GPIO controller. | ||
9 | |||
10 | Example: | ||
11 | gpio: gpio@90000000 { | ||
12 | compatible = "lsi,zevio-gpio"; | ||
13 | reg = <0x90000000 0x1000>; | ||
14 | gpio-controller; | ||
15 | #gpio-cells = <2>; | ||
16 | }; | ||