forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/Documentation/devicetree/bindings/mfd/stmpe.txt
....@@ -4,15 +4,29 @@
44 keypad, touchscreen, adc, pwm, rotator.
55
66 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
99
1010 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
1630
1731 Example:
1832