summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@avionic-design.de>2012-11-05 10:55:25 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-29 09:28:50 -0800
commite89e29b8585379c844b03fb3aa2cca73e2bc5b26 (patch)
tree904bb25bb9c50818617ccf5e83ae501cb534f386 /Documentation/devicetree
parent852d20aed8a029ea8496e85052493b275f19d22b (diff)
downloadlinux-e89e29b8585379c844b03fb3aa2cca73e2bc5b26.tar.gz
linux-e89e29b8585379c844b03fb3aa2cca73e2bc5b26.tar.bz2
linux-e89e29b8585379c844b03fb3aa2cca73e2bc5b26.zip
Input: tca8418_keypad - add support for device tree bindings
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/input/tca8418_keypad.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/tca8418_keypad.txt b/Documentation/devicetree/bindings/input/tca8418_keypad.txt
new file mode 100644
index 000000000000..2a1538f0053f
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/tca8418_keypad.txt
@@ -0,0 +1,8 @@
+
+Required properties:
+- compatible: "ti,tca8418"
+- reg: the I2C address
+- interrupts: IRQ line number, should trigger on falling edge
+- keypad,num-rows: The number of rows
+- keypad,num-columns: The number of columns
+- linux,keymap: Keys definitions, see keypad-matrix.