diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/input/atmel,maxtouch.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt index baef432e8369..0ac23f2ed104 100644 --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt | |||
@@ -15,6 +15,17 @@ Optional properties for main touchpad device: | |||
15 | keycode generated by each GPIO. Linux keycodes are defined in | 15 | keycode generated by each GPIO. Linux keycodes are defined in |
16 | <dt-bindings/input/input.h>. | 16 | <dt-bindings/input/input.h>. |
17 | 17 | ||
18 | - linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages | ||
19 | on GPIO bit changes. An array of up to 8 entries can be provided | ||
20 | indicating the Linux keycode mapped to each bit of the status byte, | ||
21 | starting at the LSB. Linux keycodes are defined in | ||
22 | <dt-bindings/input/input.h>. | ||
23 | |||
24 | Note: the numbering of the GPIOs and the bit they start at varies between | ||
25 | maXTouch devices. You must either refer to the documentation, or | ||
26 | experiment to determine which bit corresponds to which input. Use | ||
27 | KEY_RESERVED for unused padding values. | ||
28 | |||
18 | Example: | 29 | Example: |
19 | 30 | ||
20 | touch@4b { | 31 | touch@4b { |