]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dae505501b96befee3800067879931d8188dc64
tree8a3b629f57456c62202d2ca22498e97c80efe1a1
parent17c1575b375ccd32c935168f62a36378388acb5b
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]