summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Dyer <nick.dyer@itdev.co.uk>2015-03-10 15:25:06 +0000
committerNick Dyer <nick.dyer@itdev.co.uk>2015-04-23 16:53:56 +0100
commit7c09e1314d1f64cf02a3fdaaf5bf3ef56192f244 (patch)
tree9dda2fdcdd08c6863fd009d17cedd6beb8cefaca
parent8ed3a0dab31a49a30592f48cd902f33ab834306f (diff)
downloadolio-linux-3.10-7c09e1314d1f64cf02a3fdaaf5bf3ef56192f244.tar.xz
olio-linux-3.10-7c09e1314d1f64cf02a3fdaaf5bf3ef56192f244.zip
Input: atmel_mxt_ts - Update device tree documentation
-rw-r--r--Documentation/devicetree/bindings/input/atmel,maxtouch.txt22
1 files changed, 18 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
index 6319f07bfbc..a20561aa991 100644
--- a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
+++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
@@ -6,15 +6,29 @@ Required properties:
- reg: The I2C address of the device
-- interrupts: The sink for the touch controller CHG/IRQ output
+- interrupts: The sink for the touchpad's IRQ output
See ../interrupt-controller/interrupts.txt
-Optional properties for maXTouch device:
+Optional properties for main touchpad device:
-- linux,gpio-keymap: An array of up to 4 entries indicating the Linux
- keycode generated by each GPIO. Linux keycodes are defined in
+- linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages
+ on GPIO bit changes. An array of up to 8 entries can be provided
+ indicating the Linux keycode mapped to each bit of the status byte,
+ starting at the LSB. Linux keycodes are defined in
<dt-bindings/input/input.h>.
+ Note: the numbering of the GPIOs and the bit they start at varies between
+ maXTouch devices. You must either refer to the documentation, or
+ experiment to determine which bit corresponds to which input. Use
+ KEY_RESERVED for unused padding values.
+
+- atmel,reset-gpio: Configure RESET GPIO. Required for regulator support.
+
+- atmel,cfg_name: Provide name of configuration file in OBP_RAW format. This
+ will be downloaded from the firmware loader on probe to the device.
+
+- atmel,input_name: Override name of input device from the default.
+
Example:
touch@4b {