input: PCAP2 misc input driver
Subsystems (2)
PATCH v2 1/1 input: PCAP2 misc input driver
From: Daniel Ribeiro <[email protected]>
This is a driver for misc input events for the PCAP2 PMIC, it handles the Power key and the Headphone button.
---
Please note that the driver depends on some changes from the for-next branch in Samuel Ortiz's mfd tree:
http://git.kernel.org/?p=linux/kernel/git/sameo/mfd-2.6.git;a=shortlog;h=for-next
should this be queued by Samuel or the input people will you take care to send this mainline only after Samuel's tree has been merged?
Changes from v1:
* Using __set_bit now
* Moved to drivers/input/misc and fixed Kconfig
* Removed Jack/Mic insertion handling,
we will use the jack insertion api for these
* Added a MODULE_ALIAS
v1 is in http://lkml.org/lkml/2009/6/27/113
drivers/input/misc/Kconfig | 11 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/pcap_keys.c | 144 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 156 insertions(+), 0 deletions(-)
drivers/input/misc/Kconfig +11 -0
@@ -269,4 +269,15 @@ config INPUT_DM355EVM To compile this driver as a module, choose M here: the module will be called dm355evm_keys. + +config INPUT_PCAP + tristate "Motorola EZX PCAP misc input events" + depends on EZX_PCAP + help + Say Y here if you want to use Power key and Headphone button + on Motorola EZX phones. + + To compile this driver as a module, choose M here: the + module will be called pcap_keys. + endif
drivers/input/misc/Makefile +1 -0
@@ -26,3 +26,4 @@ obj-$(CONFIG_INPUT_TWL4030_PWRBUTTON) += twl4030-pwrbutton.o obj-$(CONFIG_INPUT_UINPUT) += uinput.o obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o obj-$(CONFIG_INPUT_YEALINK) += yealink.o +obj-$(CONFIG_INPUT_PCAP) += pcap_keys.o
drivers/input/misc/pcap_keys.c new file +144 -0
144 lines not on this page · raw message
Signature · 1 line
tg: (08582db..) ezx/pcap_keys (depends on: ezx/local/pcap)
Quoted 2 lines · On Mon, 3 Aug 2009 11:29:19 +0200 Daniel Ribeiro <[email protected]> wrote:
From: Daniel Ribeiro <[email protected]>
Please discard this From line, the email address is wrong here. The patch is actually from Daniel Ribeiro <[email protected]>
Sorry for the mistake.
Ciao,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?