Vipul Kumar Samar | ac713cc | 2012-12-07 20:29:37 +0530 | [diff] [blame] | 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. |
Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 5 | |
| 6 | Required properties: |
Vipul Kumar Samar | ac713cc | 2012-12-07 20:29:37 +0530 | [diff] [blame] | 7 | - compatible : "st,stmpe[610|801|811|1601|2401|2403]" |
| 8 | - reg : I2C/SPI address of the device |
Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 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 |
Lee Jones | cc899bc | 2012-11-22 12:24:24 +0000 | [diff] [blame] | 14 | - wakeup-source : Marks the input device as wakable |
Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 15 | - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 |
Sean Cross | 0bf1f0c | 2014-09-12 11:18:34 +0800 | [diff] [blame] | 16 | - irq-gpio : If present, which GPIO to use for event IRQ |
Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 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 | |
Lee Jones | cc899bc | 2012-11-22 12:24:24 +0000 | [diff] [blame] | 27 | wakeup-source; |
Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 28 | st,autosleep-timeout = <1024>; |
| 29 | }; |