162306a36Sopenharmony_ci* Freescale i.MX6UL Touch Controller
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci- compatible: must be "fsl,imx6ul-tsc".
562306a36Sopenharmony_ci- reg: this touch controller address and the ADC2 address.
662306a36Sopenharmony_ci- interrupts: the interrupt of this touch controller and ADC2.
762306a36Sopenharmony_ci- clocks: the root clock of touch controller and ADC2.
862306a36Sopenharmony_ci- clock-names; must be "tsc" and "adc".
962306a36Sopenharmony_ci- xnur-gpio: the X- gpio this controller connect to.
1062306a36Sopenharmony_ci  This xnur-gpio returns to low once the finger leave the touch screen (The
1162306a36Sopenharmony_ci  last touch event the touch controller capture).
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciOptional properties:
1462306a36Sopenharmony_ci- measure-delay-time: the value of measure delay time.
1562306a36Sopenharmony_ci  Before X-axis or Y-axis measurement, the screen need some time before
1662306a36Sopenharmony_ci  even potential distribution ready.
1762306a36Sopenharmony_ci  This value depends on the touch screen.
1862306a36Sopenharmony_ci- pre-charge-time: the touch screen need some time to precharge.
1962306a36Sopenharmony_ci  This value depends on the touch screen.
2062306a36Sopenharmony_ci- touchscreen-average-samples: Number of data samples which are averaged for
2162306a36Sopenharmony_ci  each read. Valid values are 1, 4, 8, 16 and 32.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciExample:
2462306a36Sopenharmony_ci	tsc: tsc@2040000 {
2562306a36Sopenharmony_ci		compatible = "fsl,imx6ul-tsc";
2662306a36Sopenharmony_ci		reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
2762306a36Sopenharmony_ci		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2862306a36Sopenharmony_ci			     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
2962306a36Sopenharmony_ci		clocks = <&clks IMX6UL_CLK_IPG>,
3062306a36Sopenharmony_ci			 <&clks IMX6UL_CLK_ADC2>;
3162306a36Sopenharmony_ci		clock-names = "tsc", "adc";
3262306a36Sopenharmony_ci		pinctrl-names = "default";
3362306a36Sopenharmony_ci		pinctrl-0 = <&pinctrl_tsc>;
3462306a36Sopenharmony_ci		xnur-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
3562306a36Sopenharmony_ci		measure-delay-time = <0xfff>;
3662306a36Sopenharmony_ci		pre-charge-time = <0xffff>;
3762306a36Sopenharmony_ci		touchscreen-average-samples = <32>;
3862306a36Sopenharmony_ci	};
39