summaryrefslogtreecommitdiffstats
path: root/drivers/input/Kconfig
diff options
context:
space:
mode:
authorChristian Kapeller <christian.kapeller@cmotion.eu>2012-07-16 13:40:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-07-17 20:45:47 +0200
commit1d168baacd74bf468bcad51dcfbcae02b55593c6 (patch)
treed389320c70695365ba8795025f412d7d93fa792e /drivers/input/Kconfig
parentb78e5fe9f3ce155065831d3aa8a480656a8f53c5 (diff)
downloadbarebox-1d168baacd74bf468bcad51dcfbcae02b55593c6.tar.gz
barebox-1d168baacd74bf468bcad51dcfbcae02b55593c6.tar.xz
input: Add i.MX matrix keypad driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r--drivers/input/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index b488553680..7bcb2daec4 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -16,4 +16,17 @@ config KEYBOARD_GPIO
setup logic must also provide a platform device,
with configuration data saying which GPIOs are used.
+config KEYBOARD_IMX_KEYPAD
+ bool "IMX Keypad"
+ depends on ARCH_IMX
+ select POLLER
+ help
+ This driver implements support for buttons connected
+ to the IMX keypad matrix.
+
+ Say Y here if your device has buttons connected
+ to the IMX keypad matrix. Your board-specific
+ setup logic must also provide a 'matrix_keymap_data' structure,
+ defining the used keys.
+
endmenu