atmel,maxtouch.txt 1006 B

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