summaryrefslogtreecommitdiff
path: root/drivers/input/Kconfig
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-03-13 21:35:51 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-13 21:37:04 -0700
commit2cd36877ad1c61429e00c099b6903ebcd936ca00 (patch)
treec9f7618f3b49c2ba5516c9023ba7e5604aa6b08c /drivers/input/Kconfig
parentb51425becfe127e0c17a8501ffa079b37241ed11 (diff)
Input: of_keymap - add device tree bindings for simple key matrices
This adds a simple device tree binding for simple key matrix data and a helper to fill in the platform data. Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r--drivers/input/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 001b147c7f95..332597980817 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -25,6 +25,10 @@ config INPUT
if INPUT
+config INPUT_OF_MATRIX_KEYMAP
+ depends on USE_OF
+ bool
+
config INPUT_FF_MEMLESS
tristate "Support for memoryless force-feedback devices"
help