summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt')
-rw-r--r--kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt b/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt
new file mode 100644
index 000000000..255185009
--- /dev/null
+++ b/kernel/Documentation/devicetree/bindings/input/tca8418_keypad.txt
@@ -0,0 +1,10 @@
+This binding is based on the matrix-keymap binding with the following
+changes:
+
+keypad,num-rows and keypad,num-columns are required.
+
+Required properties:
+- compatible: "ti,tca8418"
+- reg: the I2C address
+- interrupts: IRQ line number, should trigger on falling edge
+- linux,keymap: Keys definitions, see keypad-matrix.