Commit | Line | Data |
---|---|---|
ac713cc9 VKS |
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. | |
84e6de81 LJ |
5 | |
6 | Required properties: | |
bd495916 | 7 | - compatible : "st,stmpe[610|801|811|1600|1601|2401|2403]" |
ac713cc9 | 8 | - reg : I2C/SPI address of the device |
84e6de81 LJ |
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 | |
cc899bc3 | 14 | - wakeup-source : Marks the input device as wakable |
84e6de81 | 15 | - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 |
0bf1f0cd | 16 | - irq-gpio : If present, which GPIO to use for event IRQ |
84e6de81 LJ |
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 | ||
cc899bc3 | 27 | wakeup-source; |
84e6de81 LJ |
28 | st,autosleep-timeout = <1024>; |
29 | }; |