summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/Kconfig
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-28 09:37:14 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-03-30 13:24:55 -0700
commite70f18e1c7868bebad16b21b4821b2adb8c1abf8 (patch)
tree9d02b52fb41a729a4188f1fb9db904fbe083fa9c /drivers/input/keyboard/Kconfig
parentfd335ab04b3f1b3309dfbfea71a1a79a7bacc4ad (diff)
Input: add new driver for ARM CLPS711X keypad
This patch adds a new driver for keypad for Cirrus Logic CLPS711X CPUs. Target CPU contain keyboard interface which can scan 8 column lines, so we can read row GPIOs to read status and determine asserted state. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/Kconfig')
-rw-r--r--drivers/input/keyboard/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 935dcaf16646..76842d7dc2e3 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -151,6 +151,18 @@ config KEYBOARD_BFIN
To compile this driver as a module, choose M here: the
module will be called bf54x-keys.
+config KEYBOARD_CLPS711X
+ tristate "CLPS711X Keypad support"
+ depends on OF_GPIO && (ARCH_CLPS711X || COMPILE_TEST)
+ select INPUT_MATRIXKMAP
+ select INPUT_POLLDEV
+ help
+ Say Y here to enable the matrix keypad on the Cirrus Logic
+ CLPS711X CPUs.
+
+ To compile this driver as a module, choose M here: the
+ module will be called clps711x-keypad.
+
config KEYBOARD_LKKBD
tristate "DECstation/VAXstation LK201/LK401 keyboard"
select SERIO