Commit | Line | Data |
---|---|---|
78188be3 SW |
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: An array of up to 4 entries indicating the Linux | |
15 | keycode generated by each GPIO. Linux keycodes are defined in | |
16 | <dt-bindings/input/input.h>. | |
17 | ||
18 | Example: | |
19 | ||
20 | touch@4b { | |
21 | compatible = "atmel,maxtouch"; | |
22 | reg = <0x4b>; | |
23 | interrupt-parent = <&gpio>; | |
24 | interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>; | |
25 | }; |