[PATCH v3 0/3] Add initial support for MAXIM 77686 mfd chip
From: Jonghwa Lee
Date: Fri May 18 2012 - 05:32:32 EST
This patchset adds support for MAX77686 which is a multifunction device including
regulator and rtc. It also includes drivers supporting rtc and regulator.
All drivers are based on MAX8997 driver and use regmap to access to registers.
To manage IRQs occured by max77686, It supports IRQ domain.
v3:
Changes in mfd core:
- Remove APIs accessing to register ( e.g. max77686_read_reg() )
to use regmap's API directly over all related drivers.
Changes in regulator driver:
- Convert get_voltage to get_voltage_sel
- Convert set_voltage to set_voltage_sel
- Implement set_voltage_time_sel
- Register regulators unconditionally
- kzalloc -> devm_kzalloc
- Remove unneccessary printk
- Keep probing whether pdata exists or not
- Use regmap API to access to PMIC register.
Changes in rtc driver:
- Use regmap API to access to RTC register.
v2:
http://thread.gmane.org/gmane.linux.kernel/1295479
This patch set is tested on TRATS boards.
Jonghwa Lee (3):
mfd: MAX77686: Add Maxim 77686 mfd driver
regulator: MAX77686: Add Maxim 77686 regulator driver
rtc: MAX77686: Add Maxim 77686 rtc driver
drivers/mfd/Kconfig | 11 +
drivers/mfd/Makefile | 1 +
drivers/mfd/max77686-irq.c | 327 ++++++++++++++
drivers/mfd/max77686.c | 156 +++++++
drivers/regulator/Kconfig | 8 +
drivers/regulator/Makefile | 1 +
drivers/regulator/max77686.c | 783 ++++++++++++++++++++++++++++++++++
drivers/rtc/Kconfig | 20 +
drivers/rtc/Makefile | 4 +-
drivers/rtc/rtc-max77686.c | 668 +++++++++++++++++++++++++++++
include/linux/mfd/max77686-private.h | 247 +++++++++++
include/linux/mfd/max77686.h | 117 +++++
12 files changed, 2342 insertions(+), 1 deletions(-)
create mode 100644 drivers/mfd/max77686-irq.c
create mode 100644 drivers/mfd/max77686.c
create mode 100644 drivers/regulator/max77686.c
create mode 100644 drivers/rtc/rtc-max77686.c
create mode 100644 include/linux/mfd/max77686-private.h
create mode 100644 include/linux/mfd/max77686.h
--
1.7.4.1
--
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/