.. | .. |
---|
4 | 4 | keypad, touchscreen, adc, pwm, rotator. |
---|
5 | 5 | |
---|
6 | 6 | Required properties: |
---|
7 | | - - compatible : "st,stmpe[610|801|811|1600|1601|2401|2403]" |
---|
8 | | - - reg : I2C/SPI address of the device |
---|
| 7 | + - compatible : "st,stmpe[610|801|811|1600|1601|2401|2403]" |
---|
| 8 | + - reg : I2C/SPI address of the device |
---|
9 | 9 | |
---|
10 | 10 | Optional properties: |
---|
11 | | - - interrupts : The interrupt outputs from the controller |
---|
12 | | - - interrupt-controller : Marks the device node as an interrupt controller |
---|
13 | | - - wakeup-source : Marks the input device as wakable |
---|
14 | | - - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 |
---|
15 | | - - irq-gpio : If present, which GPIO to use for event IRQ |
---|
| 11 | + - interrupts : The interrupt outputs from the controller |
---|
| 12 | + - interrupt-controller : Marks the device node as an interrupt controller |
---|
| 13 | + - wakeup-source : Marks the input device as wakable |
---|
| 14 | + - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 |
---|
| 15 | + - irq-gpio : If present, which GPIO to use for event IRQ |
---|
| 16 | + |
---|
| 17 | +Optional properties for devices with touch and ADC (STMPE811|STMPE610): |
---|
| 18 | + - st,sample-time : ADC conversion time in number of clock. |
---|
| 19 | + 0 -> 36 clocks 4 -> 80 clocks (recommended) |
---|
| 20 | + 1 -> 44 clocks 5 -> 96 clocks |
---|
| 21 | + 2 -> 56 clocks 6 -> 124 clocks |
---|
| 22 | + 3 -> 64 clocks |
---|
| 23 | + - st,mod-12b : ADC Bit mode |
---|
| 24 | + 0 -> 10bit ADC 1 -> 12bit ADC |
---|
| 25 | + - st,ref-sel : ADC reference source |
---|
| 26 | + 0 -> internal 1 -> external |
---|
| 27 | + - st,adc-freq : ADC Clock speed |
---|
| 28 | + 0 -> 1.625 MHz 2 || 3 -> 6.5 MHz |
---|
| 29 | + 1 -> 3.25 MHz |
---|
16 | 30 | |
---|
17 | 31 | Example: |
---|
18 | 32 | |
---|