input: add handler for reset and power key input events
Kernel device trees may indicate linux,code = KEY_POWER or KEY_RESTART,
mostly for gpio-keys. Make barebox able to act on them by registering an
appropriate input notifier.

Suggested-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 66bd3f1 commit ea06d25a931324f8c082d13522c9125468cec317
@Ahmad Fatoum Ahmad Fatoum authored on 9 Sep 2019
Sascha Hauer committed on 9 Sep 2019
Showing 3 changed files
View
drivers/input/Kconfig
View
drivers/input/Makefile
View
drivers/input/specialkeys.c 0 → 100644