[PATCH v5 0/4] MAX8997/8966 MFD (including PMIC&RTC) Initial Release
From: MyungJoo Ham
Date: Thu Mar 10 2011 - 21:35:07 EST
MAX8997/8966 has
- PMIC
- RTC
- MUIC (usb switch)
- Flash control
- Haptic control
- Fuel Gauge (MAX17042 compatible)
- Battery charger control
This patch adds an initial driver for Maxim Semiconductor 8997/8966's
PMIC function.
In this initial release, PMIC (as set of regulators) and RTC drivers are
included.
The changes from previous patch
v5
with comments from Mark
- Style updated for PMIC
- Revised side-effect calculation
In the range given, choose a setting without side-effect
then, choose a setting with the least side-effect if allowed.
Added comments on FUEL-GAUGE issue in IRQ
v4
with comments from Randy:
- Spelling errors in Kconfig
with comments from Minsung Kim:
- RTC month bit error.
v3
with comments from Joe:
- Style updated for IRQ and RTC
with comments from Mark
- Style updated for RTC and PMIC
Merged support for RTC and IRQ
v2
with comments from Samuel:
- Style updated for MFD
with comments from Mark:
- Updated API for next and 2.6.38
- Style updated for regulators
Support for hibernation
Support for bulk register access
Corrected register names
Added RTC/IRQ registers
LDO access bug fixed
Support for regulator suspend state control
MyungJoo Ham (4):
MAX8997/8966 MFD Driver Initial Release (PMIC+RTC+MUIC+Haptic+...)
MAX8997/8966 PMIC Regulator Driver Initial Release
MAX8997/8966 MFD: Add IRQ control feature
MAX8997/8966 RTC Driver Initial Release
drivers/mfd/Kconfig | 12 +
drivers/mfd/Makefile | 1 +
drivers/mfd/max8997-irq.c | 346 ++++++++++
drivers/mfd/max8997.c | 427 ++++++++++++
drivers/regulator/Kconfig | 9 +
drivers/regulator/Makefile | 1 +
drivers/regulator/max8997.c | 1213 +++++++++++++++++++++++++++++++++++
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-max8997.c | 445 +++++++++++++
include/linux/mfd/max8997-private.h | 359 +++++++++++
include/linux/mfd/max8997.h | 120 ++++
12 files changed, 2944 insertions(+), 0 deletions(-)
create mode 100644 drivers/mfd/max8997-irq.c
create mode 100644 drivers/mfd/max8997.c
create mode 100644 drivers/regulator/max8997.c
create mode 100644 drivers/rtc/rtc-max8997.c
create mode 100644 include/linux/mfd/max8997-private.h
create mode 100644 include/linux/mfd/max8997.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/