Input: sirfsoc_pwrc - add onkey input driver for CSR SiRFprimaII PWRC
authorBinghua Duan <Binghua.Duan@csr.com>
Mon, 3 Jun 2013 06:38:46 +0000 (23:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Jun 2013 06:49:12 +0000 (23:49 -0700)
commit9b5f953ddc3247dd0c3d0cafa4247be10d5c05db
tree8a3b629f57456c62202d2ca22498e97c80efe1a1
parentf6e63f8032571bb58d054071edfd35d88f9dd07a
Input: sirfsoc_pwrc - add onkey input driver for CSR SiRFprimaII PWRC

There is an embedded PWRC(power controller) in SiRFprimaII and SiRFatlasVI,
we have an ONKEY button which can generate interrupt to IRQ controller.
In a typical user scenarios, at the runtime, if users touch the key, we put
system to s2ram status.

Signed-off-by: Binghua Duan <Binghua.Duan@csr.com>
Signed-off-by: Xianglong Du <Xianglong.Du@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/sirfsoc-onkey.c [new file with mode: 0644]