Merge tag 'cris-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper...
[cascardo/linux.git] / Documentation / devicetree / bindings / mfd / stmpe.txt
1 * ST Microelectronics STMPE Multi-Functional Device
2
3 STMPE is an MFD device which may expose the following inbuilt devices: gpio,
4 keypad, touchscreen, adc, pwm, rotator.
5
6 Required properties:
7  - compatible                   : "st,stmpe[610|801|811|1600|1601|2401|2403]"
8  - reg                          : I2C/SPI address of the device
9
10 Optional properties:
11  - interrupts                   : The interrupt outputs from the controller
12  - interrupt-controller         : Marks the device node as an interrupt controller
13  - interrupt-parent             : Specifies which IRQ controller we're connected to
14  - wakeup-source                : Marks the input device as wakable
15  - st,autosleep-timeout         : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
16  - irq-gpio                     : If present, which GPIO to use for event IRQ
17
18 Example:
19
20         stmpe1601: stmpe1601@40 {
21                 compatible = "st,stmpe1601";
22                 reg = <0x40>;
23                 interrupts = <26 0x4>;
24                 interrupt-parent = <&gpio6>;
25                 interrupt-controller;
26
27                 wakeup-source;
28                 st,autosleep-timeout = <1024>;
29         };