[PATCH 0/3] mfd: max8997: add regmap support

From: Robert Baldyga
Date: Tue Mar 11 2014 - 09:58:58 EST


Hi,

This patchset modifies max8997 driver and associated function drivers to use
register maps instead of operating directly on i2c bus. This change allowed
to simplify irq handling, and to move some initializations to individual
function drivers. Hence now when some functions are not enabled, their i2c
clients, regmaps and irqs are not registered.

Best regards
Robert Baldyga
Samsung R&D Institute Poland

Robert Baldyga (3):
mfd: max8997: use regmap to access registers
mfd: max8997: handle IRQs using regmap
mfd: max8997: move regmap handling to function drivers

drivers/extcon/extcon-max8997.c | 136 ++++++++++--
drivers/input/misc/max8997_haptic.c | 117 +++++++++--
drivers/leds/leds-max8997.c | 13 +-
drivers/mfd/Makefile | 2 +-
drivers/mfd/max8997-irq.c | 387 -----------------------------------
drivers/mfd/max8997.c | 207 ++++++-------------
drivers/power/max8997_charger.c | 33 +--
drivers/regulator/max8997.c | 87 ++++----
drivers/rtc/rtc-max8997.c | 98 ++++++---
include/linux/mfd/max8997-private.h | 86 ++++++--
10 files changed, 482 insertions(+), 684 deletions(-)
delete mode 100644 drivers/mfd/max8997-irq.c

--
1.7.9.5

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