imx6ul_tsc.txt 1.3 KB

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