linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] OMAP3: PM: disable twl4030 sleep sequence before reboot
@ 2010-02-03 19:43 Mike Turquette
  2010-02-03 19:43 ` [PATCH 1/2] MFD: TWL4030: introduce remove_script function Mike Turquette
  0 siblings, 1 reply; 18+ messages in thread
From: Mike Turquette @ 2010-02-03 19:43 UTC (permalink / raw)
  To: linux-omap

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(-)

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-08-01  6:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03 19:43 [RFC] OMAP3: PM: disable twl4030 sleep sequence before reboot Mike Turquette
2010-02-03 19:43 ` [PATCH 1/2] MFD: TWL4030: introduce remove_script function Mike Turquette
2010-02-03 19:43   ` [PATCH 2/2] OMAP3: PM: remove TWL4030 A2S script before reboot Mike Turquette
2010-02-09 22:35     ` Tony Lindgren
2010-07-28  9:41     ` [PATCH] twl4030 reboot workaround Mikko Rapeli
2010-07-28 10:07       ` Gopinath, Thara
2010-07-29  6:07         ` Mikko Rapeli
2010-07-28 10:18       ` Peter 'p2' De Schrijver
2010-07-29  6:06         ` Mikko Rapeli
2010-07-28 15:47       ` Mike Turquette
2010-07-29  6:16         ` Mikko Rapeli
2010-07-29  6:41           ` [PATCH v2] " Mikko Rapeli
2010-07-29 19:10             ` Mike Rapoport
2010-07-30  5:48               ` Mikko Rapeli
2010-07-30  6:35               ` Gopinath, Thara
2010-07-30 18:39                 ` Mike Turquette
2010-07-30 19:11                   ` Gopinath, Thara
2010-08-01  6:31                     ` Mike Rapoport

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).