[PATCH v4 0/3] Add initial support for MAXIM 77686 mfd chip
From: Jonghwa Lee
Date: Mon May 21 2012 - 05:51:55 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.
Changes in patchset v4
- Use common regulator API for all regulator_ops.
- Replace regulator's infomation (minimum value, step, number of available
voltage levels) to regulator_desc structure.
Changes in patchset v3
In mfd core:
- Remove APIs accessing to register ( e.g. max77686_read_reg() )
to use regmap's API directly over all related drivers.
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.
In rtc driver:
- Use regmap API to access to RTC register.
Changes in patcset 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 | 309 ++++++++++++++++
drivers/mfd/max77686.c | 156 ++++++++
drivers/regulator/Kconfig | 8 +
drivers/regulator/Makefile | 1 +
drivers/regulator/max77686.c | 438 +++++++++++++++++++++++
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-max77686.c | 645 ++++++++++++++++++++++++++++++++++
include/linux/mfd/max77686-private.h | 247 +++++++++++++
include/linux/mfd/max77686.h | 117 ++++++
12 files changed, 1944 insertions(+), 0 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/