On Mon, Sep 09, 2019 at 10:06:09AM +0200, Ahmad Fatoum wrote: > 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@xxxxxxxxxxxxxx> > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > --- > v1 -> v2: > - announce reset/power on info log level, so users are aware why it > happens. Suggested by Oleksij > --- > drivers/input/Kconfig | 6 ++++++ > drivers/input/Makefile | 1 + > drivers/input/specialkeys.c | 36 ++++++++++++++++++++++++++++++++++++ > 3 files changed, 43 insertions(+) > create mode 100644 drivers/input/specialkeys.c Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox