1 --- a/drivers/input/misc/Kconfig
2 +++ b/drivers/input/misc/Kconfig
3 @@ -438,4 +438,20 @@ config INPUT_ADXL34X_SPI
4 To compile this driver as a module, choose M here: the
5 module will be called adxl34x-spi.
7 +config INPUT_GPIO_BUTTONS
8 + tristate "Polled GPIO buttons interface"
9 + depends on GENERIC_GPIO
10 + select INPUT_POLLDEV
12 + This driver implements support for buttons connected
13 + to GPIO pins of various CPUs (and some other chips).
15 + Say Y here if your device has buttons connected
16 + directly to such GPIO pins. Your board-specific
17 + setup logic must also provide a platform device,
18 + with configuration data saying which GPIOs are used.
20 + To compile this driver as a module, choose M here: the
21 + module will be called gpio-buttons.
24 --- a/drivers/input/misc/Makefile
25 +++ b/drivers/input/misc/Makefile
26 @@ -41,4 +41,5 @@ obj-$(CONFIG_INPUT_WINBOND_CIR) += winb
27 obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o
28 obj-$(CONFIG_INPUT_WM831X_ON) += wm831x-on.o
29 obj-$(CONFIG_INPUT_YEALINK) += yealink.o
30 +obj-$(CONFIG_INPUT_GPIO_BUTTONS) += gpio_buttons.o