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

From: Chanwoo Choi
Date: Mon May 14 2012 - 07:40:07 EST

MAX77693 is sub PMIC(Power Management IC) working
with other main PMIC. It has several features:
-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.

- 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
- Fix typo and remove unnecessary code
- Set irq domain for MAX77693 interrupts regardless of max77693->irq

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

- 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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/