[PATCH v2 0/5] mfd: twl4030-power: Start DT conversion and updates

From: Florian Vaussard
Date: Tue Jun 18 2013 - 09:18:27 EST


This series enables a partial DT support for twl4030-power. The
missing part is the power management scripts, as the required
binding should be defined first. It however enables the complete
shutdown of the processor at poweroff when booting with DT,
dropping the power consumption from around 350 mA on Overo+Tobi
to about 40 mA.

The poweroff callback was tested with both DT and non-DT boots.

The last two patches simplify the error path in the probe function,
and fix registers relocking on error.

Best regards,


Since v1:
- use module_platform_driver()
- split the refactoring of the probe function into a dedicated patch
- new patch to fix registers relocking on error
- rebased on mfd-next

Florian Vaussard (5):
mfd: twl4030-power: Split from twl-core into a dedicated module
mfd: twl4030-power: Simplify probing of power scripts and resources
mfd: twl4030-power: Start transition to DT
mfd: twl4030-power: Simplify error path
mfd: twl4030-power: Fix relocking on error

.../devicetree/bindings/mfd/twl4030-power.txt | 28 ++++
drivers/mfd/twl-core.c | 12 +-
drivers/mfd/twl4030-power.c | 149 ++++++++++++++-----
include/linux/i2c/twl.h | 1 -
4 files changed, 146 insertions(+), 44 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/twl4030-power.txt


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/