1*c66ec88fSEmmanuel Vadot* Freescale i.MX6UL Touch Controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: must be "fsl,imx6ul-tsc". 5*c66ec88fSEmmanuel Vadot- reg: this touch controller address and the ADC2 address. 6*c66ec88fSEmmanuel Vadot- interrupts: the interrupt of this touch controller and ADC2. 7*c66ec88fSEmmanuel Vadot- clocks: the root clock of touch controller and ADC2. 8*c66ec88fSEmmanuel Vadot- clock-names; must be "tsc" and "adc". 9*c66ec88fSEmmanuel Vadot- xnur-gpio: the X- gpio this controller connect to. 10*c66ec88fSEmmanuel Vadot This xnur-gpio returns to low once the finger leave the touch screen (The 11*c66ec88fSEmmanuel Vadot last touch event the touch controller capture). 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotOptional properties: 14*c66ec88fSEmmanuel Vadot- measure-delay-time: the value of measure delay time. 15*c66ec88fSEmmanuel Vadot Before X-axis or Y-axis measurement, the screen need some time before 16*c66ec88fSEmmanuel Vadot even potential distribution ready. 17*c66ec88fSEmmanuel Vadot This value depends on the touch screen. 18*c66ec88fSEmmanuel Vadot- pre-charge-time: the touch screen need some time to precharge. 19*c66ec88fSEmmanuel Vadot This value depends on the touch screen. 20*c66ec88fSEmmanuel Vadot- touchscreen-average-samples: Number of data samples which are averaged for 21*c66ec88fSEmmanuel Vadot each read. Valid values are 1, 4, 8, 16 and 32. 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel VadotExample: 24*c66ec88fSEmmanuel Vadot tsc: tsc@2040000 { 25*c66ec88fSEmmanuel Vadot compatible = "fsl,imx6ul-tsc"; 26*c66ec88fSEmmanuel Vadot reg = <0x02040000 0x4000>, <0x0219c000 0x4000>; 27*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 28*c66ec88fSEmmanuel Vadot <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 29*c66ec88fSEmmanuel Vadot clocks = <&clks IMX6UL_CLK_IPG>, 30*c66ec88fSEmmanuel Vadot <&clks IMX6UL_CLK_ADC2>; 31*c66ec88fSEmmanuel Vadot clock-names = "tsc", "adc"; 32*c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 33*c66ec88fSEmmanuel Vadot pinctrl-0 = <&pinctrl_tsc>; 34*c66ec88fSEmmanuel Vadot xnur-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>; 35*c66ec88fSEmmanuel Vadot measure-delay-time = <0xfff>; 36*c66ec88fSEmmanuel Vadot pre-charge-time = <0xffff>; 37*c66ec88fSEmmanuel Vadot touchscreen-average-samples = <32>; 38*c66ec88fSEmmanuel Vadot }; 39