Merge tag 'pxa-dt-4.7' of https://github.com/rjarzmik/linux into next/dt
[deliverable/linux.git] / Documentation / devicetree / bindings / input / atmel,maxtouch.txt
CommitLineData
78188be3
SW
1Atmel maXTouch touchscreen/touchpad
2
3Required 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
12Optional properties for main touchpad device:
13
f5940231
ND
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
78188be3
SW
25Example:
26
27 touch@4b {
28 compatible = "atmel,maxtouch";
29 reg = <0x4b>;
30 interrupt-parent = <&gpio>;
31 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
32 };
This page took 0.115359 seconds and 5 git commands to generate.