18c2ecf20Sopenharmony_ciFreescale mx25 TS conversion queue module 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_cimx25 touchscreen conversion queue module which controls the ADC unit of the 48c2ecf20Sopenharmony_cimx25 for attached touchscreens. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired properties: 78c2ecf20Sopenharmony_ci - compatible: Should be "fsl,imx25-tcq". 88c2ecf20Sopenharmony_ci - reg: Memory range of the device. 98c2ecf20Sopenharmony_ci - interrupts: Should be the interrupt number associated with this module within 108c2ecf20Sopenharmony_ci the tscadc unit (<0>). 118c2ecf20Sopenharmony_ci - fsl,wires: Should be '<4>' or '<5>' 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciOptional properties: 148c2ecf20Sopenharmony_ci - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 158c2ecf20Sopenharmony_ci - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value 168c2ecf20Sopenharmony_ci between 1 and 4096. It is the ratio between the internal reference voltage 178c2ecf20Sopenharmony_ci and the measured voltage after the plate was precharged. Resistance between 188c2ecf20Sopenharmony_ci plates and therefore the voltage decreases with pressure so that a smaller 198c2ecf20Sopenharmony_ci value is equivalent to a higher pressure. 208c2ecf20Sopenharmony_ci - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before 218c2ecf20Sopenharmony_ci the actual touch detection to wait for an even charge distribution in the 228c2ecf20Sopenharmony_ci plate. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciThis device includes two conversion queues which can be added as subnodes. 258c2ecf20Sopenharmony_ciThe first queue is for the touchscreen, the second for general purpose ADC. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciExample: 288c2ecf20Sopenharmony_ci tsc: tcq@50030400 { 298c2ecf20Sopenharmony_ci compatible = "fsl,imx25-tcq"; 308c2ecf20Sopenharmony_ci reg = <0x50030400 0x60>; 318c2ecf20Sopenharmony_ci interrupt-parent = <&tscadc>; 328c2ecf20Sopenharmony_ci interrupts = <0>; 338c2ecf20Sopenharmony_ci fsl,wires = <4>; 348c2ecf20Sopenharmony_ci }; 35