Polled GPIO Decoder Input driver

modulename: gpio_decoder.ko

configname: CONFIG_INPUT_GPIO_DECODER

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Miscellaneous devices
└─>Polled GPIO Decoder Input driver
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Say Y here if you want driver to read status of multiple GPIO
lines and report the encoded value as an absolute integer to
input subsystem.

To compile this driver as a module, choose M here: the module
will be called gpio_decoder.

source code:

depends
CONFIG_INPUT
CONFIG_INPUT_MISC
NOT CONFIG_UML
CONFIG_COMPILE_TEST or CONFIG_GPIOLIB