Skip to contentSkip to conversation

Extcon: Add MAX8997 extcon driver for MUIC feature

PATCH Superseded Chanwoo Choi 1 participant 1 message May 9, 2012

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover Extcon: Add MAX8997 extcon driver for MUIC feature

This patchset use Extcon framework in extcon-max8997 driver to control external connector instead of max8997-muic driver which is implemented with callback function through platform_data to control external connector.

So, first patch add MAX8997 extcon driver (drivers/extcon/extcon-max8997.c), the last patch remove previous MAX8997 MUIC driver(drivers/misc/max8997-muic.c)
which support MUIC feature of Maxim MAX8997 with callback function.

v1
- Use Extcon interface to notify cable state of notifee instead of callback function when external connector is attached or detached.
- Bug fix of getting platform_data for irq_base value.

v2,v3
- Fix line-wrapping problem

Chanwoo Choi (2):
Extcon: add MAX8997 extcon driver
misc: MAX8997: Remove max8997-muic driver

 drivers/extcon/Kconfig          |    8 +
 drivers/extcon/Makefile         |    1 +
 drivers/extcon/extcon-max8997.c |  537
+++++++++++++++++++++++++++++++++++++++
 drivers/misc/Kconfig            |    8 -
 drivers/misc/Makefile           |    1 -
 drivers/misc/max8997-muic.c     |  495 ------------------------------------
 include/linux/mfd/max8997.h     |   23 --
 7 files changed, 546 insertions(+), 527 deletions(-)
 create mode 100644 drivers/extcon/extcon-max8997.c
 delete mode 100644 drivers/misc/max8997-muic.c