]> git.karo-electronics.de Git - linux-beck.git/commit
input: Extend matrix-keypad device tree binding
authorSimon Glass <sjg@chromium.org>
Fri, 11 Jan 2013 01:41:32 +0000 (17:41 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 8 Feb 2013 12:58:40 +0000 (12:58 +0000)
commit1d0b1c74ed22d2614ae9206febf956f0b22c81a5
tree35f09caab89441276ce6cfd28437faf26cdb7d35
parentd2f4ec1026fecbef9b72cc899a626516ef3f265f
input: Extend matrix-keypad device tree binding

Some matrix keypad drivers can support different numbers of rows and
columns. Add a generic binding for these.

Implementation note:

In order to implement this binding in the kernel, we will need to modify
matrix_keypad_() to look up the number of rows and cols in
the keymap. Perhaps this could be done by passing 0 for these parameters?
Many of the parameters can already be set to NULL. Ick.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/input/lpc32xx-key.txt
Documentation/devicetree/bindings/input/matrix-keymap.txt
Documentation/devicetree/bindings/input/omap-keypad.txt
Documentation/devicetree/bindings/input/tca8418_keypad.txt