atmel,maxtouch.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Atmel maXTouch touchscreen/touchpad
  2. Required properties:
  3. - compatible:
  4. atmel,maxtouch
  5. The following compatibles have been used in various products but are
  6. deprecated:
  7. atmel,qt602240_ts
  8. atmel,atmel_mxt_ts
  9. atmel,atmel_mxt_tp
  10. atmel,mXT224
  11. - reg: The I2C address of the device
  12. - interrupts: The sink for the touchpad's IRQ output
  13. See ../interrupt-controller/interrupts.txt
  14. Optional properties for main touchpad device:
  15. - linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages
  16. on GPIO bit changes. An array of up to 8 entries can be provided
  17. indicating the Linux keycode mapped to each bit of the status byte,
  18. starting at the LSB. Linux keycodes are defined in
  19. <dt-bindings/input/input.h>.
  20. Note: the numbering of the GPIOs and the bit they start at varies between
  21. maXTouch devices. You must either refer to the documentation, or
  22. experiment to determine which bit corresponds to which input. Use
  23. KEY_RESERVED for unused padding values.
  24. - reset-gpios: GPIO specifier for the touchscreen's reset pin (active low)
  25. Example:
  26. touch@4b {
  27. compatible = "atmel,maxtouch";
  28. reg = <0x4b>;
  29. interrupt-parent = <&gpio>;
  30. interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
  31. };