input: Add support for the WM831x ON pin
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 15 Sep 2009 10:07:12 +0000 (12:07 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:47:02 +0000 (09:47 +0200)
commit0c73b992dd4c645f050344cb13142c0fd3496824
tree64dc9705ea0efadb86e142e7f0cb1fbe36a9cf1c
parent08bad5a821371548942aa13565831f18fe1875f3
input: Add support for the WM831x ON pin

The WM831x series of PMICs support control of initial power on
through the ON pin on the device with soft control of the pin
at other times. Represent this to userspace as KEY_POWER.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/wm831x-on.c [new file with mode: 0644]
include/linux/mfd/wm831x/core.h