summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/Kconfig
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2010-05-22 00:57:26 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-05-22 00:57:59 -0700
commit3734574cac1002e4cf037e3591cf222b1e04dfa4 (patch)
tree52b93644c876e7e20b9084ca055ca4542ae763a9 /drivers/input/misc/Kconfig
parent81c2a3ba497835797332b517ebf2de7b7f2a7c80 (diff)
downloadop-kernel-dev-3734574cac1002e4cf037e3591cf222b1e04dfa4.zip
op-kernel-dev-3734574cac1002e4cf037e3591cf222b1e04dfa4.tar.gz
Input: enable onkey driver of max8925
When ONKEY is held for 3 seconds, KEY_POWER event is reported. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r--drivers/input/misc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index 48cdabe..c44b9ea 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -80,6 +80,16 @@ config INPUT_M68K_BEEP
tristate "M68k Beeper support"
depends on M68K
+config INPUT_MAX8925_ONKEY
+ tristate "MAX8925 ONKEY support"
+ depends on MFD_MAX8925
+ help
+ Support the ONKEY of MAX8925 PMICs as an input device
+ reporting power button status.
+
+ To compile this driver as a module, choose M here: the module
+ will be called max8925_onkey.
+
config INPUT_APANEL
tristate "Fujitsu Lifebook Application Panel buttons"
depends on X86 && I2C && LEDS_CLASS
OpenPOWER on IntegriCloud