[PATCH v6 0/2] MAX8997/8966 MFD: Add RTC and IRQ

From: MyungJoo Ham
Date: Tue Mar 15 2011 - 22:02:38 EST


MAX8997/8966 has
- PMIC
- RTC
- MUIC (usb switch)
- Flash control
- Haptic control
- Fuel Gauge (MAX17042 compatible)
- Battery charger control

This patch series is meant to add an initial driver for Maxim
Semiconductor 8997/8966's PMIC function.

However, as the first two parts (MFD and PMIC) are applied, we have
removed the frist two parts from the patch series.

The changes from previous patch
v6
with comments from Samuel
- IRQ register bit values use macros
corrected GPIO interrupt handling
RTC configuration bit values use macros
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 (2):
MAX8997/8966 MFD: Add IRQ control feature
MAX8997/8966 RTC Driver Initial Release

drivers/mfd/Makefile | 2 +-
drivers/mfd/max8997-irq.c | 377 +++++++++++++++++++++++++++
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-max8997.c | 476 +++++++++++++++++++++++++++++++++++
include/linux/mfd/max8997-private.h | 21 ++
include/linux/mfd/max8997.h | 12 +-
7 files changed, 895 insertions(+), 4 deletions(-)
create mode 100644 drivers/mfd/max8997-irq.c
create mode 100644 drivers/rtc/rtc-max8997.c

--
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/