blob: 3fb68bfefc8b30eb149d8ddf36d7b0eadccb1ded [file] [log] [blame]
Vipul Kumar Samarac713cc2012-12-07 20:29:37 +05301* ST Microelectronics STMPE Multi-Functional Device
2
3STMPE is an MFD device which may expose the following inbuilt devices: gpio,
4keypad, touchscreen, adc, pwm, rotator.
Lee Jones84e6de82012-11-05 16:10:34 +01005
6Required properties:
Vipul Kumar Samarac713cc2012-12-07 20:29:37 +05307 - compatible : "st,stmpe[610|801|811|1601|2401|2403]"
8 - reg : I2C/SPI address of the device
Lee Jones84e6de82012-11-05 16:10:34 +01009
10Optional 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
Lee Jonescc899bc2012-11-22 12:24:24 +000014 - wakeup-source : Marks the input device as wakable
Lee Jones84e6de82012-11-05 16:10:34 +010015 - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
Sean Cross0bf1f0c2014-09-12 11:18:34 +080016 - irq-gpio : If present, which GPIO to use for event IRQ
Lee Jones84e6de82012-11-05 16:10:34 +010017
18Example:
19
20 stmpe1601: stmpe1601@40 {
21 compatible = "st,stmpe1601";
22 reg = <0x40>;
23 interrupts = <26 0x4>;
24 interrupt-parent = <&gpio6>;
25 interrupt-controller;
26
Lee Jonescc899bc2012-11-22 12:24:24 +000027 wakeup-source;
Lee Jones84e6de82012-11-05 16:10:34 +010028 st,autosleep-timeout = <1024>;
29 };