mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
The existing gpio-keys driver can be usable only for GPIO lines with interrupt support. Several devices have buttons connected to a GPIO line which is not capable to generate interrupts. This patch adds a new input driver using the generic GPIO layer and the input-polldev to support such buttons. [Ben Gardiner <[email protected]: fold code to use more of the original gpio_keys infrastructure; cleanups and other improvements.] Signed-off-by: Gabor Juhos <[email protected]> Signed-off-by: Ben Gardiner <[email protected]> Tested-by: Ben Gardiner <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>