diff options
author | Robin Gong <b38343@freescale.com> | 2015-05-26 19:26:00 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-07-15 05:17:06 +0300 |
commit | d3dc6e2322155087c19a1d6a71818be534de0602 (patch) | |
tree | bd7467406107c0bd0aef5e97f54b29c650b84836 /drivers/input/keyboard/Kconfig | |
parent | 4fcb7dfd827d7d12ffc612fbc67769e002a482e4 (diff) | |
download | linux-d3dc6e2322155087c19a1d6a71818be534de0602.tar.xz |
input: keyboard: imx: add snvs power key driver
add snvs power key driver.
It work in imx chips after i.mx6sx
ON/OFF key used power on/off whole system.
This driver make it wakeup from suspend state when short press
ON/OFF key.
Long time press will trig SNVS power off chip without software
intervention.
Signed-off-by: Robin Gong <b38343@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/input/keyboard/Kconfig')
-rw-r--r-- | drivers/input/keyboard/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 4cd94fd6cbad..82a8fb50afac 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -401,6 +401,17 @@ config KEYBOARD_MPR121 To compile this driver as a module, choose M here: the module will be called mpr121_touchkey. +config KEYBOARD_SNVS_PWRKEY + tristate "IMX SNVS Power Key Driver" + depends on SOC_IMX6SX + depends on OF + help + This is the snvs powerkey driver for the Freescale i.MX application + processors that are newer than i.MX6 SX. + + To compile this driver as a module, choose M here; the + module will be called snvs_pwrkey. + config KEYBOARD_IMX tristate "IMX keypad support" depends on ARCH_MXC |