When TWL4030 power scripts are enabled, the sleep script must be disabled before rebooting, if using DPLL3 reset. DPLL3 reset drives SYS_OFFMODE low, causing TWL4030 to initiate the sleep script. This script collapses VDD1 and VDD2 voltages, usually after the warm reset has happened but while ROM code is executing. In this situation MPU watchdog typically saves the day. This happens for every single reboot. It has also been observed that when VDD1 and VDD2 voltages collapse the WDT does not kick in and the system becomes irrecoverable. [PATCH 1/2] MFD: TWL4030: introduce remove_script function Introduces new function to twl4030-power.c for disabling any script. This is done by programming the start address for the specified script to 0x3f, the END_OF_SCRIPT value. [PATCH 2/2] OMAP3: PM: remove TWL4030 A2S script before reboot Calls new function introduced above from omap2_clk_prepare_for_reboot in clock34xx.c. So far this issue is only known to affect 3430 and 3630. No word yet if OMAP4 and Phoenix have a similar integration issue. arch/arm/mach-omap2/clock34xx.c | 15 +++++++++++ drivers/mfd/twl4030-power.c | 50 +++++++++++++++++++++++++++++++++++++++ include/linux/i2c/twl.h | 1 + 3 files changed, 66 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html