input: Add keyreset driver.
authorArve Hjønnevåg <arve@android.com>
Sat, 22 Nov 2008 05:47:23 +0000 (21:47 -0800)
committerColin Cross <ccross@android.com>
Thu, 30 Sep 2010 00:49:12 +0000 (17:49 -0700)
commit507859c6dfb1cd5bb35549077a18707a4ab38df7
treed51ff86a1a5090b1f85c5e833fa85693210ed0e3
parenteefa53c09f33255441b5cd1855f6035e8180c2ad
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]