1*4882a593SmuzhiyunFreescale MX25 ADC/TSC MultiFunction Device (MFD) 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThis device combines two general purpose conversion queues one used for general 4*4882a593SmuzhiyunADC and the other used for touchscreens. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunRequired properties: 7*4882a593Smuzhiyun - compatible: Should be "fsl,imx25-tsadc". 8*4882a593Smuzhiyun - reg: Start address and size of the memory area of 9*4882a593Smuzhiyun the device 10*4882a593Smuzhiyun - interrupts: Interrupt for this device 11*4882a593Smuzhiyun (See: ../interrupt-controller/interrupts.txt) 12*4882a593Smuzhiyun - clocks: An 'ipg' clock (See: ../clock/clock-bindings.txt) 13*4882a593Smuzhiyun - interrupt-controller: This device is an interrupt controller. It 14*4882a593Smuzhiyun controls the interrupts of both 15*4882a593Smuzhiyun conversion queues. 16*4882a593Smuzhiyun - #interrupt-cells: Should be '<1>'. 17*4882a593Smuzhiyun - #address-cells: Should be '<1>'. 18*4882a593Smuzhiyun - #size-cells: Should be '<1>'. 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunThis device includes two conversion queues which can be added as subnodes. 21*4882a593SmuzhiyunThe first queue is for the touchscreen, the second for general purpose ADC. 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunExample: 24*4882a593Smuzhiyun tscadc: tscadc@50030000 { 25*4882a593Smuzhiyun compatible = "fsl,imx25-tsadc"; 26*4882a593Smuzhiyun reg = <0x50030000 0xc>; 27*4882a593Smuzhiyun interrupts = <46>; 28*4882a593Smuzhiyun clocks = <&clks 119>; 29*4882a593Smuzhiyun clock-names = "ipg"; 30*4882a593Smuzhiyun interrupt-controller; 31*4882a593Smuzhiyun #interrupt-cells = <1>; 32*4882a593Smuzhiyun #address-cells = <1>; 33*4882a593Smuzhiyun #size-cells = <1>; 34*4882a593Smuzhiyun ranges; 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun tsc: tcq@50030400 { 37*4882a593Smuzhiyun compatible = "fsl,imx25-tcq"; 38*4882a593Smuzhiyun reg = <0x50030400 0x60>; 39*4882a593Smuzhiyun ... 40*4882a593Smuzhiyun }; 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun adc: gcq@50030800 { 43*4882a593Smuzhiyun compatible = "fsl,imx25-gcq"; 44*4882a593Smuzhiyun reg = <0x50030800 0x60>; 45*4882a593Smuzhiyun ... 46*4882a593Smuzhiyun }; 47*4882a593Smuzhiyun }; 48