diff options
author | Arve Hjønnevåg <arve@android.com> | 2008-11-21 21:47:23 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:37:56 -0800 |
commit | c774264542f457188c31c361e1a82f8e66b685ec (patch) | |
tree | 4848fe69b827f6003d04fd00b7907fe4021d072d /drivers/input/Kconfig | |
parent | e4ed2348821faa45247b2b119c4bd05211a069d9 (diff) |
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>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r-- | drivers/input/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 23e82e46656d..c0e639c1b179 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -161,6 +161,15 @@ config INPUT_APMPOWER To compile this driver as a module, choose M here: the module will be called apm-power. +config INPUT_KEYRESET + tristate "Reset key" + depends on INPUT + ---help--- + Say Y here if you want to reboot when some keys are pressed; + + To compile this driver as a module, choose M here: the + module will be called keyreset. + comment "Input Device Drivers" source "drivers/input/keyboard/Kconfig" |