input: Add keyreset driver.
authorArve Hjønnevåg <arve@android.com>
Sat, 22 Nov 2008 05:47:23 +0000 (21:47 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:50:56 +0000 (13:50 -0800)
commit823efe4bbd9b1c406ac1daa52cb08ad884c93e57
tree735d0fa882eff684c44286aaad00732ce14902a2
parent7a23935f76e01156daf7c72a6caea513f7a8434d
input: Add keyreset driver.

Add a platform device in the board file to specify a reset key-combo.
The first time the key-combo is detected a work function that syncs
the filesystems is scheduled. If all the keys are released and then
pressed again, it calls panic. Reboot on panic should be set for
this to work.

Change-Id: I9d54283ca1fba45e4b1ae1a407524cdda8171143
Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/input/Kconfig
drivers/input/Makefile
drivers/input/keyreset.c [new file with mode: 0644]
include/linux/keyreset.h [new file with mode: 0644]