Skip to contentSkip to conversation

input: support onkey in 88pm860x

PATCH New Haojian Zhuang 1 participant 1 message Feb 3, 2010 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: support onkey in 88pm860x

---
 drivers/input/misc/88pm860x_onkey.c |  154 +++++++++++++++++++++++++++++++++++
 drivers/input/misc/Kconfig          |   10 +++
 drivers/input/misc/Makefile         |    1 +
 3 files changed, 165 insertions(+), 0 deletions(-)
 create mode 100644 drivers/input/misc/88pm860x_onkey.c
(quoted diff) +0 -0

b/drivers/input/misc/88pm860x_onkey.c
new file mode 100644
index 0000000..a846e67

drivers/input/misc/88pm860x_onkey.c new file +154 -0

154 lines not on this page · raw message

drivers/input/misc/Kconfig +10 -0
index 32f9e02..3cd878f 100644
@@ -12,6 +12,16 @@ menuconfig INPUT_MISC
 
 if INPUT_MISC
 
+config INPUT_88PM860X_ONKEY
+	tristate "88PM860x ONKEY support"
+	depends on MFD_88PM860X
+	help
+	  Support the ONKEY of Marvell 88PM860x PMICs as an input device
+	  reporting power button status.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called 88pm860x_onkey.
+
 config INPUT_PCSPKR
 	tristate "PC Speaker support"
 	depends on PCSPKR_PLATFORM
drivers/input/misc/Makefile +1 -0
index d903dab..6d6130f 100644
@@ -4,6 +4,7 @@
 
 # Each configuration option enables a list of files.
 
+obj-$(CONFIG_INPUT_88PM860X_ONKEY)	+= 88pm860x_onkey.o
 obj-$(CONFIG_INPUT_APANEL)		+= apanel.o
 obj-$(CONFIG_INPUT_ATI_REMOTE)		+= ati_remote.o
 obj-$(CONFIG_INPUT_ATI_REMOTE2)		+= ati_remote2.o
Signature · 1 line
1.5.6.5