2012-12-07 14:59:37 +00:00
|
|
|
* ST Microelectronics STMPE Multi-Functional Device
|
|
|
|
|
|
|
|
STMPE is an MFD device which may expose the following inbuilt devices: gpio,
|
|
|
|
keypad, touchscreen, adc, pwm, rotator.
|
2012-11-05 15:10:34 +00:00
|
|
|
|
|
|
|
Required properties:
|
2012-12-07 14:59:37 +00:00
|
|
|
- compatible : "st,stmpe[610|801|811|1601|2401|2403]"
|
|
|
|
- reg : I2C/SPI address of the device
|
2012-11-05 15:10:34 +00:00
|
|
|
|
|
|
|
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
|
2012-11-22 12:24:24 +00:00
|
|
|
- wakeup-source : Marks the input device as wakable
|
2012-11-05 15:10:34 +00:00
|
|
|
- st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
|
2014-09-12 03:18:34 +00:00
|
|
|
- irq-gpio : If present, which GPIO to use for event IRQ
|
2012-11-05 15:10:34 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
stmpe1601: stmpe1601@40 {
|
|
|
|
compatible = "st,stmpe1601";
|
|
|
|
reg = <0x40>;
|
|
|
|
interrupts = <26 0x4>;
|
|
|
|
interrupt-parent = <&gpio6>;
|
|
|
|
interrupt-controller;
|
|
|
|
|
2012-11-22 12:24:24 +00:00
|
|
|
wakeup-source;
|
2012-11-05 15:10:34 +00:00
|
|
|
st,autosleep-timeout = <1024>;
|
|
|
|
};
|