Re: [PATCH V3 5/5] input: pxa27x-keypad: add device tree support

From
Marek Vasut <marex@denx.de>
Date
2013-06-19 08:22:58
Also in
linux-arm-kernel, lkml
Reply to
Chao Xie, 2013-06-18
Dear Chao Xie,
quoted hunk ↗ jump to hunk
Signed-off-by: Chao Xie <redacted>
---
 .../devicetree/bindings/input/pxa27x-keypad.txt    |   60 +++++
 drivers/input/keyboard/pxa27x_keypad.c             |  232
+++++++++++++++++++- 2 files changed, 288 insertions(+), 4 deletions(-)
 create mode 100644
Documentation/devicetree/bindings/input/pxa27x-keypad.txt
diff --git a/Documentation/devicetree/bindings/input/pxa27x-keypad.txt
b/Documentation/devicetree/bindings/input/pxa27x-keypad.txt new file mode
100644
index 0000000..f8674f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/pxa27x-keypad.txt
@@ -0,0 +1,60 @@
+* Marvell PXA Keypad controller
+
+Required Properties
+- compatible : should be "marvell,pxa27x-keypad"
+- reg : Address and length of the register set for the device
+- interrupts : The interrupt for the keypad controller
+- marvell,debounce-interval : How long time the key will be
Is there no generic prop name for this debounce interval?

Best regards,
Marek Vasut
Thread (15 messages) 15 messages, 6 authors, last reply 2013-06-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help