Skip to contentSkip to conversation

ONKEY: DA9055 Onkey driver

PATCH In review Ashish Jangam 1 participant 1 message Oct 1, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 7/7 ONKEY: DA9055 Onkey driver

Previous discard this patch previous post as it got corrupted instead consider this post.

This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver.

---
changes since version v2:
- Add support for button release
- Use of devm_request_threaded_irq API

---
 drivers/input/misc/Kconfig        |   10 ++
 drivers/input/misc/Makefile       |    1 +
 drivers/input/misc/da9055_onkey.c |  177 +++++++++++++++++++++++++++++++++++++
 3 files changed, 188 insertions(+), 0 deletions(-)
 create mode 100644 drivers/input/misc/da9055_onkey.c
drivers/input/misc/Kconfig +10 -0
index 7c0f1ec..6a45cb8 100644
@@ -486,6 +486,16 @@ config INPUT_DA9052_ONKEY
 	  To compile this driver as a module, choose M here: the
 	  module will be called da9052_onkey.
 
+config INPUT_DA9055_ONKEY
+	tristate "Dialog Semiconductor DA9055 ONKEY"
+	depends on MFD_DA9055
+	help
+	  Support the ONKEY of DA9055 PMICs as an input device
+	  reporting power button status.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called da9055_onkey.
+
 config INPUT_DM355EVM
 	tristate "TI DaVinci DM355 EVM Keypad and IR Remote"
 	depends on MFD_DM355EVM_MSP
drivers/input/misc/Makefile +1 -0
index 83fe6f5..23347e3 100644
@@ -23,6 +23,7 @@ obj-$(CONFIG_INPUT_CMA3000)		+= cma3000_d0x.o
 obj-$(CONFIG_INPUT_CMA3000_I2C)		+= cma3000_d0x_i2c.o
 obj-$(CONFIG_INPUT_COBALT_BTNS)		+= cobalt_btns.o
 obj-$(CONFIG_INPUT_DA9052_ONKEY)	+= da9052_onkey.o
+obj-$(CONFIG_INPUT_DA9055_ONKEY)	+= da9055_onkey.o
 obj-$(CONFIG_INPUT_DM355EVM)		+= dm355evm_keys.o
 obj-$(CONFIG_INPUT_GP2A)		+= gp2ap002a00f.o
 obj-$(CONFIG_INPUT_GPIO_TILT_POLLED)	+= gpio_tilt_polled.o
drivers/input/misc/da9055_onkey.c new file +177 -0

177 lines not on this page · raw message

Signature · 1 line
1.7.0.4