diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-11-05 10:10:34 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-11 17:35:04 -0500 |
commit | 84e6de813b2d1bdb127943d3c8edf1c1afaa90da (patch) | |
tree | c73d132bc739bb8771091e2394cccd83faba9611 /Documentation/devicetree/bindings | |
parent | 909582caae384418723ccdb00e848f4140257195 (diff) |
Documentation: Describe bindings for STMPE Multi-Functional Device driver
Here we add the required documentation for the STMPE Multi-Functional
Device (MFD) Device Tree bindings. It describes all of the bindings
currently supported by the driver.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/stmpe.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt b/Documentation/devicetree/bindings/mfd/stmpe.txt new file mode 100644 index 000000000000..8f0aeda2e326 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/stmpe.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | * STMPE Multi-Functional Device | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "st,stmpe[811|1601|2401|2403]" | ||
5 | - reg : I2C address of the device | ||
6 | |||
7 | Optional properties: | ||
8 | - interrupts : The interrupt outputs from the controller | ||
9 | - interrupt-controller : Marks the device node as an interrupt controller | ||
10 | - interrupt-parent : Specifies which IRQ controller we're connected to | ||
11 | - i2c-client-wake : Marks the input device as wakable | ||
12 | - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 | ||
13 | |||
14 | Example: | ||
15 | |||
16 | stmpe1601: stmpe1601@40 { | ||
17 | compatible = "st,stmpe1601"; | ||
18 | reg = <0x40>; | ||
19 | interrupts = <26 0x4>; | ||
20 | interrupt-parent = <&gpio6>; | ||
21 | interrupt-controller; | ||
22 | |||
23 | i2c-client-wake; | ||
24 | st,autosleep-timeout = <1024>; | ||
25 | }; | ||