Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 1 | * STMPE Multi-Functional Device |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : "st,stmpe[811|1601|2401|2403]" |
| 5 | - reg : I2C address of the device |
| 6 | |
| 7 | Optional properties: |
| 8 | - interrupts : The interrupt outputs from the controller |
| 9 | - interrupt-controller : Marks the device node as an interrupt controller |
| 10 | - interrupt-parent : Specifies which IRQ controller we're connected to |
Lee Jones | cc899bc | 2012-11-22 12:24:24 +0000 | [diff] [blame^] | 11 | - wakeup-source : Marks the input device as wakable |
Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 12 | - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | stmpe1601: stmpe1601@40 { |
| 17 | compatible = "st,stmpe1601"; |
| 18 | reg = <0x40>; |
| 19 | interrupts = <26 0x4>; |
| 20 | interrupt-parent = <&gpio6>; |
| 21 | interrupt-controller; |
| 22 | |
Lee Jones | cc899bc | 2012-11-22 12:24:24 +0000 | [diff] [blame^] | 23 | wakeup-source; |
Lee Jones | 84e6de8 | 2012-11-05 16:10:34 +0100 | [diff] [blame] | 24 | st,autosleep-timeout = <1024>; |
| 25 | }; |