summaryrefslogtreecommitdiff
path: root/drivers/input/misc/Makefile
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-08-25 19:46:41 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-08-30 06:24:23 +0300
commit694641616448a9c5b30b3a5e5f51da73cb3a0016 (patch)
tree7f1a864463f8def2c717e94a67b46a478fa59a35 /drivers/input/misc/Makefile
parent680772647d96ed853d20f837a2726151f24d8b20 (diff)
downloadlinux-694641616448a9c5b30b3a5e5f51da73cb3a0016.tar.xz
Input: add generic input driver to read encoded GPIO lines
Add a driver to read group of GPIO lines and provide its status as a numerical value as input event to the system. This will help in interfacing devices, that can be connected over GPIOs, that provide input to the system by driving GPIO lines connected to them like a rotary dial or a switch. For example, a rotary switch can be connected to four GPIO lines. The status of the GPIO lines reflect the actual position of the rotary switch dial. For example, if dial points to 9, then the four GPIO lines connected to the switch will read HLLH(0b'1001 = 9). This value can be reported as an ABS_* event to the input subsystem. Signed-off-by: Vignesh R <vigneshr@ti.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/Makefile')
-rw-r--r--drivers/input/misc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/Makefile b/drivers/input/misc/Makefile
index 6a1e5e20fc1c..0b6d025f0487 100644
--- a/drivers/input/misc/Makefile
+++ b/drivers/input/misc/Makefile
@@ -35,6 +35,7 @@ obj-$(CONFIG_INPUT_DRV2667_HAPTICS) += drv2667.o
obj-$(CONFIG_INPUT_GP2A) += gp2ap002a00f.o
obj-$(CONFIG_INPUT_GPIO_BEEPER) += gpio-beeper.o
obj-$(CONFIG_INPUT_GPIO_TILT_POLLED) += gpio_tilt_polled.o
+obj-$(CONFIG_INPUT_GPIO_DECODER) += gpio_decoder.o
obj-$(CONFIG_INPUT_HISI_POWERKEY) += hisi_powerkey.o
obj-$(CONFIG_HP_SDC_RTC) += hp_sdc_rtc.o
obj-$(CONFIG_INPUT_IMS_PCU) += ims-pcu.o