Skip to content

Commit

Permalink
Documentation: Describe bindings for STMPE Multi-Functional Device dr…
Browse files Browse the repository at this point in the history
…iver

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>
  • Loading branch information
Lee Jones authored and Samuel Ortiz committed Nov 11, 2012
1 parent 909582c commit 84e6de8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/devicetree/bindings/mfd/stmpe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
* STMPE Multi-Functional Device

Required properties:
- compatible : "st,stmpe[811|1601|2401|2403]"
- reg : I2C address of the device

Optional properties:
- interrupts : The interrupt outputs from the controller
- interrupt-controller : Marks the device node as an interrupt controller
- interrupt-parent : Specifies which IRQ controller we're connected to
- i2c-client-wake : Marks the input device as wakable
- st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024

Example:

stmpe1601: stmpe1601@40 {
compatible = "st,stmpe1601";
reg = <0x40>;
interrupts = <26 0x4>;
interrupt-parent = <&gpio6>;
interrupt-controller;

i2c-client-wake;
st,autosleep-timeout = <1024>;
};

0 comments on commit 84e6de8

Please sign in to comment.