input: add MAX8997-haptic driver
v3 cover input: add MAX8997-haptic driver
MAX8997 has several features in a single chip,
This patchset supports unimplemented haptic driver of MAX8997.
This patchset tested on TRATS board based on EXYNOS4210.
v2
- code clean and remove unnecessary code according to comment of Dmitry Torokhov
v3
- use work_struct to enable/disable max8997-haptic instead of using mutex in irq handler statck of forced feedbacky
Donggeun Kim (2):
mfd: add platform data for MAX8997 haptic driver
input: add driver support for MAX8997-haptic
drivers/input/misc/Kconfig | 12 + drivers/input/misc/Makefile | 1 + drivers/input/misc/max8997_haptic.c | 377 +++++++++++++++++++++++++++++++++++ include/linux/mfd/max8997.h | 53 +++++- 4 files changed, 442 insertions(+), 1 deletions(-) create mode 100644 drivers/input/misc/max8997_haptic.c