ONKEY: DA9055 Onkey driver
Subsystems (3)
PATCH v2 7/7 ONKEY: DA9055 Onkey driver
This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver.
Signed-off-by David Dajun Chen <[email protected]>
Signed-off-by Ashish Jangam <[email protected]>
---
changes since version v2:
- Add support for button release
- Use of devm_request_threaded_irq API
---
Quoted 1 line
From
027ad03092d9532292c517aef6be80a2c2e1085eMon Sep 17 00:00:00 2001
From: Ashish Jangam <[email protected]>
Date: Fri, 14 Sep 2012 18:15:15 +0530
Subject: [PATCH 5/5] [Patch v1 7/7] Onkey: DA9055 Onkey driver
This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver.
This patch is functionally tested on SMDK6410 board.
Signed-off-by David Dajun Chen <[email protected]>
Signed-off-by Ashish Jangam <[email protected]>
--- 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
@@ -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
@@ -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