18c2ecf20Sopenharmony_ci* ST Microelectronics STMPE Multi-Functional Device
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciSTMPE is an MFD device which may expose the following inbuilt devices: gpio,
48c2ecf20Sopenharmony_cikeypad, touchscreen, adc, pwm, rotator.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired properties:
78c2ecf20Sopenharmony_ci - compatible			: "st,stmpe[610|801|811|1600|1601|2401|2403]"
88c2ecf20Sopenharmony_ci - reg				: I2C/SPI address of the device
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciOptional properties:
118c2ecf20Sopenharmony_ci - interrupts			: The interrupt outputs from the controller
128c2ecf20Sopenharmony_ci - interrupt-controller		: Marks the device node as an interrupt controller
138c2ecf20Sopenharmony_ci - wakeup-source		: Marks the input device as wakable
148c2ecf20Sopenharmony_ci - st,autosleep-timeout		: Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
158c2ecf20Sopenharmony_ci - irq-gpio			: If present, which GPIO to use for event IRQ
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciOptional properties for devices with touch and ADC (STMPE811|STMPE610):
188c2ecf20Sopenharmony_ci - st,sample-time		: ADC conversion time in number of clock.
198c2ecf20Sopenharmony_ci					0 -> 36 clocks		4 -> 80 clocks (recommended)
208c2ecf20Sopenharmony_ci					1 -> 44 clocks		5 -> 96 clocks
218c2ecf20Sopenharmony_ci					2 -> 56 clocks		6 -> 124 clocks
228c2ecf20Sopenharmony_ci					3 -> 64 clocks
238c2ecf20Sopenharmony_ci - st,mod-12b			: ADC Bit mode
248c2ecf20Sopenharmony_ci					0 -> 10bit ADC		1 -> 12bit ADC
258c2ecf20Sopenharmony_ci - st,ref-sel			: ADC reference source
268c2ecf20Sopenharmony_ci					0 -> internal		1 -> external
278c2ecf20Sopenharmony_ci - st,adc-freq			: ADC Clock speed
288c2ecf20Sopenharmony_ci					0 -> 1.625 MHz		2 || 3 -> 6.5 MHz
298c2ecf20Sopenharmony_ci					1 -> 3.25 MHz
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciExample:
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	stmpe1601: stmpe1601@40 {
348c2ecf20Sopenharmony_ci		compatible = "st,stmpe1601";
358c2ecf20Sopenharmony_ci		reg = <0x40>;
368c2ecf20Sopenharmony_ci		interrupts = <26 0x4>;
378c2ecf20Sopenharmony_ci		interrupt-parent = <&gpio6>;
388c2ecf20Sopenharmony_ci		interrupt-controller;
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci		wakeup-source;
418c2ecf20Sopenharmony_ci		st,autosleep-timeout = <1024>;
428c2ecf20Sopenharmony_ci	};
43