input: Add keyreset driver.
authorArve Hjønnevåg <arve@android.com>
Sat, 22 Nov 2008 05:47:23 +0000 (21:47 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:21 +0000 (13:40 -0700)
commite3f687d0619f5262f07f16dcc44d4a06a33bdd20
treebcccde3a66a8d4b35b91c0f8802a60d73ee1d613
parent18678ffec90a058cbad734b98d1c5ebe9448e05c
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]