Merge tag 'trace-v4.14-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rosted...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / atmel,maxtouch.txt
1 Atmel maXTouch touchscreen/touchpad
2
3 Required properties:
4 - compatible:
5     atmel,maxtouch
6
7 - reg: The I2C address of the device
8
9 - interrupts: The sink for the touchpad's IRQ output
10     See ../interrupt-controller/interrupts.txt
11
12 Optional properties for main touchpad device:
13
14 - linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages
15     on GPIO bit changes. An array of up to 8 entries can be provided
16     indicating the Linux keycode mapped to each bit of the status byte,
17     starting at the LSB. Linux keycodes are defined in
18     <dt-bindings/input/input.h>.
19
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
25 - reset-gpios: GPIO specifier for the touchscreen's reset pin (active low)
26
27 Example:
28
29         touch@4b {
30                 compatible = "atmel,maxtouch";
31                 reg = <0x4b>;
32                 interrupt-parent = <&gpio>;
33                 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
34         };