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