summaryrefslogtreecommitdiffstats
path: root/drivers/input/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-11 21:49:38 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-16 18:17:30 +0800
commitef654d161766c13e002f2bf738007ccf44d84749 (patch)
tree7832b5c0be73693de74382f6c896496ba0c665da /drivers/input/Kconfig
parent4b06ebc820aa9a46dfb73c7050b073d8224b4b70 (diff)
downloadbarebox-ef654d161766c13e002f2bf738007ccf44d84749.tar.gz
barebox-ef654d161766c13e002f2bf738007ccf44d84749.tar.xz
add gpio keyboard support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r--drivers/input/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
new file mode 100644
index 0000000000..b488553680
--- /dev/null
+++ b/drivers/input/Kconfig
@@ -0,0 +1,19 @@
+#
+# Input device configuration
+#
+
+menu "Input device support"
+
+config KEYBOARD_GPIO
+ bool "GPIO Buttons"
+ depends on GENERIC_GPIO
+ help
+ This driver implements support for buttons connected
+ to GPIO pins of various CPUs (and some other chips).
+
+ Say Y here if your device has buttons connected
+ directly to such GPIO pins. Your board-specific
+ setup logic must also provide a platform device,
+ with configuration data saying which GPIOs are used.
+
+endmenu