Skip to content

Extcon: Add MAX8997 extcon driver for MUIC feature

Chanwoo Choi lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 0 repliesSuperseded
  3. v22 patches 4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Extcon: add MAX8997 extcon driverdrivers/extcon/Kconfig drivers/extcon/Makefile drivers/extcon/extcon-max8997.c+546 -00 replies
2/2misc: MAX8997: Remove max8997-muic driverdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/max8997-muic.c +1 more+0 -5270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] 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,v4
- 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