2012-05-14 11:40:05

by Chanwoo Choi

[permalink] [raw]
Subject: [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


2012-05-14 20:45:53

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH v4 0/2] MAX77693: add initial MAX77693 MFD driver

Hi Chanwoo,

On Mon, May 14, 2012 at 08:39:52PM +0900, Chanwoo Choi wrote:
> 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.
Applied both patches, thanks. And thanks to Mark for the quick review.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/

2012-05-14 23:25:33

by Chanwoo Choi

[permalink] [raw]
Subject: Re: [PATCH v4 0/2] MAX77693: add initial MAX77693 MFD driver

Hi Samuel,

On 05/15/2012 05:55 AM, Samuel Ortiz wrote:

> Hi Chanwoo,
>
> On Mon, May 14, 2012 at 08:39:52PM +0900, Chanwoo Choi wrote:
>> 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.
> Applied both patches, thanks. And thanks to Mark for the quick review.
>

Thank you for your reply and applied it.

Best Regards,
Chanwoo Choi