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