summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/Makefile
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-08-30 05:57:06 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-08-30 06:00:58 +0300
commit680772647d96ed853d20f837a2726151f24d8b20 (patch)
tree79e7d495a74ca81775e13c6b5b1b4756baff67b6 /drivers/input/keyboard/Makefile
parentf959cd8c0eafe2bdaa9d0ec3e3da3b9451ad38aa (diff)
downloadlinux-680772647d96ed853d20f837a2726151f24d8b20.tar.xz
Input: add ADC resistor ladder driver
A common way of multiplexing buttons on a single input in cheap devices is to use a resistor ladder on an ADC. This driver supports that configuration by polling an ADC channel provided by IIO. Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/Makefile')
-rw-r--r--drivers/input/keyboard/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Makefile b/drivers/input/keyboard/Makefile
index 1d416ddf84e4..d9f4cfcf3410 100644
--- a/drivers/input/keyboard/Makefile
+++ b/drivers/input/keyboard/Makefile
@@ -4,6 +4,7 @@
# Each configuration option enables a list of files.
+obj-$(CONFIG_KEYBOARD_ADC) += adc-keys.o
obj-$(CONFIG_KEYBOARD_ADP5520) += adp5520-keys.o
obj-$(CONFIG_KEYBOARD_ADP5588) += adp5588-keys.o
obj-$(CONFIG_KEYBOARD_ADP5589) += adp5589-keys.o