Skip to content
Commit 0e7d0c86 authored by Gabor Juhos's avatar Gabor Juhos Committed by Dmitry Torokhov
Browse files

Input: add input driver for polled GPIO buttons



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 <bengardiner@nanometrics.ca: fold code to use more
 of the original gpio_keys infrastructure; cleanups and other
 improvements.]

Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
Signed-off-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
Tested-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 8ed9e0e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment