MFD: TWL4030: Support for dynamic power switching
v2 cover MFD: TWL4030: Support for dynamic power switching
From: Amit Kucheria <[email protected]>
The TWL4030/5030 family of multifunction devices allow dynamic power switching based on board-specific applications through power 'scripts'.
Add board-independent core support for this feature and add support for the RX51 board based on OMAP3.
Amit Kucheria (3):
MFD: TWL4030: Add support for TWL4030/5030 dynamic power switching
MFD: TWL4030: print warning for out-of-order script loading
MFD: TWL4030: OMAP: Board-specifc DPS scripts for RX51 board
arch/arm/mach-omap2/board-rx51-peripherals.c | 122 ++++++++- drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile | 1 + drivers/mfd/twl4030-core.c | 12 + drivers/mfd/twl4030-power.c | 391 ++++++++++++++++++++++++++ include/linux/i2c/twl4030.h | 91 ++++++- 6 files changed, 618 insertions(+), 12 deletions(-) create mode 100644 drivers/mfd/twl4030-power.c