sun4i.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. sun4i resistive touchscreen controller
  2. --------------------------------------
  3. Required properties:
  4. - compatible: "allwinner,sun4i-a10-ts", "allwinner,sun5i-a13-ts" or
  5. "allwinner,sun6i-a31-ts"
  6. - reg: mmio address range of the chip
  7. - interrupts: interrupt to which the chip is connected
  8. - #thermal-sensor-cells: shall be 0
  9. Optional properties:
  10. - allwinner,ts-attached : boolean indicating that an actual touchscreen
  11. is attached to the controller
  12. - allwinner,tp-sensitive-adjust : integer (4 bits)
  13. adjust sensitivity of pen down detection
  14. between 0 (least sensitive) and 15
  15. (defaults to 15)
  16. - allwinner,filter-type : integer (2 bits)
  17. select median and averaging filter
  18. samples used for median / averaging filter
  19. 0: 4/2
  20. 1: 5/3
  21. 2: 8/4
  22. 3: 16/8
  23. (defaults to 1)
  24. Example:
  25. rtp: rtp@01c25000 {
  26. compatible = "allwinner,sun4i-a10-ts";
  27. reg = <0x01c25000 0x100>;
  28. interrupts = <29>;
  29. allwinner,ts-attached;
  30. #thermal-sensor-cells = <0>;
  31. /* sensitive/noisy touch panel */
  32. allwinner,tp-sensitive-adjust = <0>;
  33. allwinner,filter-type = <3>;
  34. };