Skip to content

MAX77693: add initial MAX77693 MFD driver

Chanwoo Choi lkml 4 versions – Applied

Status from this message: Applied both patches, thanks. And thanks to Mark for the quick review.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 6 repliesApplied
  2. v32 patches 5 repliesSuperseded
  3. v2 posting 2/22 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 posting 1/20 of 2 patches5 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2MFD: MAX77693: add MAX77693 MFD driverdrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/max77693.c +2 more+484 -02 replies
2/2MFD: MAX77693: add IRQ handlerdrivers/mfd/Makefile drivers/mfd/max77693-irq.c drivers/mfd/max77693.c +1 more+342 -22 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMark Brown
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] MAX77693: add initial MAX77693 MFD driver

MAX77693 is sub PMIC(Power Management IC) working
with other main PMIC. It has several features:
-PMIC
-MUIC(Micro USB Interface Controller)
-Camera flash LED control
-Haptic motor control

This patch adds initial basis for several devices. It is tested on TRATS board.

v4
- Use regmap_update_bits to update max77693 register
- Add max_register field to struct regmap_config for debugfs
- Use devm_regmap_init_i2c() to register regmap instaad of regmap_init_i2c()
- Fix typo and remove unnecessary code
- Set irq domain for MAX77693 interrupts regardless of max77693->irq

v3
- Add support irq domain for MAX77693 interrupts
- Apply regmap for i2c

v2
- with comments from Mark
- use devm_kzalloc rather than kzalloc
- print device ID read from device

Chanwoo Choi (2):
MFD: MAX77693: add MAX77693 MFD driver
MFD: MAX77693: add IRQ handler

 drivers/mfd/Kconfig                  |   12 ++
 drivers/mfd/Makefile                 |    1 +
 drivers/mfd/max77693-irq.c           |  309 ++++++++++++++++++++++++++++++++++
 drivers/mfd/max77693.c               |  249 +++++++++++++++++++++++++++
 include/linux/mfd/max77693-private.h |  217 ++++++++++++++++++++++++
 include/linux/mfd/max77693.h         |   36 ++++
 6 files changed, 824 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mfd/max77693-irq.c
 create mode 100644 drivers/mfd/max77693.c
 create mode 100644 include/linux/mfd/max77693-private.h
 create mode 100644 include/linux/mfd/max77693.h