imx6ul_tsc.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. - touchscreen-average-samples: Number of data samples which are averaged for
  19. each read. Valid values are 1, 4, 8, 16 and 32.
  20. Example:
  21. tsc: tsc@2040000 {
  22. compatible = "fsl,imx6ul-tsc";
  23. reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
  24. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  25. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
  26. clocks = <&clks IMX6UL_CLK_IPG>,
  27. <&clks IMX6UL_CLK_ADC2>;
  28. clock-names = "tsc", "adc";
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&pinctrl_tsc>;
  31. xnur-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
  32. measure-delay-time = <0xfff>;
  33. pre-charge-time = <0xffff>;
  34. touchscreen-average-samples = <32>;
  35. };