blob: 56edb55206854aeba75d63ce2c85ab707208d12a [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
16
17Example:
18
19 stmpe1601: stmpe1601@40 {
20 compatible = "st,stmpe1601";
21 reg = <0x40>;
22 interrupts = <26 0x4>;
23 interrupt-parent = <&gpio6>;
24 interrupt-controller;
25
Lee Jonescc899bc2012-11-22 12:24:24 +000026 wakeup-source;
Lee Jones84e6de82012-11-05 16:10:34 +010027 st,autosleep-timeout = <1024>;
28 };