]> git.karo-electronics.de Git - linux-beck.git/commit
input: keyboard: imx: add snvs power key driver
authorRobin Gong <b38343@freescale.com>
Tue, 26 May 2015 16:26:00 +0000 (00:26 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 15 Jul 2015 02:17:06 +0000 (10:17 +0800)
commitd3dc6e2322155087c19a1d6a71818be534de0602
treebd7467406107c0bd0aef5e97f54b29c650b84836
parent4fcb7dfd827d7d12ffc612fbc67769e002a482e4
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>
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Makefile
drivers/input/keyboard/snvs_pwrkey.c [new file with mode: 0644]