Searched hist:d8ee4a1c90529ed06e1aa43d034986649f7b670b (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | gpio_keys.h | diff d8ee4a1c90529ed06e1aa43d034986649f7b670b Mon Mar 19 19:54:31 CDT 2012 Laxman Dewangan <ldewangan@nvidia.com> Input: gpio_keys - add support for interrupt only keys
Some of buttons, like power-on key or onkey, may only generate interrupts when pressed and not actually be mapped as gpio in the system. Allow setting gpio to invalid value and specify IRQ instead to support such keys. The debounce timer is used not to debounce but to ignore new IRQs coming while button is kept pressed.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | gpio_keys.c | diff d8ee4a1c90529ed06e1aa43d034986649f7b670b Mon Mar 19 19:54:31 CDT 2012 Laxman Dewangan <ldewangan@nvidia.com> Input: gpio_keys - add support for interrupt only keys
Some of buttons, like power-on key or onkey, may only generate interrupts when pressed and not actually be mapped as gpio in the system. Allow setting gpio to invalid value and specify IRQ instead to support such keys. The debounce timer is used not to debounce but to ignore new IRQs coming while button is kept pressed.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
|