1*c66ec88fSEmmanuel VadotFreescale mx25 TS conversion queue module 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel Vadotmx25 touchscreen conversion queue module which controls the ADC unit of the 4*c66ec88fSEmmanuel Vadotmx25 for attached touchscreens. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot - compatible: Should be "fsl,imx25-tcq". 8*c66ec88fSEmmanuel Vadot - reg: Memory range of the device. 9*c66ec88fSEmmanuel Vadot - interrupts: Should be the interrupt number associated with this module within 10*c66ec88fSEmmanuel Vadot the tscadc unit (<0>). 11*c66ec88fSEmmanuel Vadot - fsl,wires: Should be '<4>' or '<5>' 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotOptional properties: 14*c66ec88fSEmmanuel Vadot - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 15*c66ec88fSEmmanuel Vadot - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value 16*c66ec88fSEmmanuel Vadot between 1 and 4096. It is the ratio between the internal reference voltage 17*c66ec88fSEmmanuel Vadot and the measured voltage after the plate was precharged. Resistance between 18*c66ec88fSEmmanuel Vadot plates and therefore the voltage decreases with pressure so that a smaller 19*c66ec88fSEmmanuel Vadot value is equivalent to a higher pressure. 20*c66ec88fSEmmanuel Vadot - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before 21*c66ec88fSEmmanuel Vadot the actual touch detection to wait for an even charge distribution in the 22*c66ec88fSEmmanuel Vadot plate. 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel VadotThis device includes two conversion queues which can be added as subnodes. 25*c66ec88fSEmmanuel VadotThe first queue is for the touchscreen, the second for general purpose ADC. 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel VadotExample: 28*c66ec88fSEmmanuel Vadot tsc: tcq@50030400 { 29*c66ec88fSEmmanuel Vadot compatible = "fsl,imx25-tcq"; 30*c66ec88fSEmmanuel Vadot reg = <0x50030400 0x60>; 31*c66ec88fSEmmanuel Vadot interrupt-parent = <&tscadc>; 32*c66ec88fSEmmanuel Vadot interrupts = <0>; 33*c66ec88fSEmmanuel Vadot fsl,wires = <4>; 34*c66ec88fSEmmanuel Vadot }; 35