All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP3: PM: Fix for Silicon bug on Context Restore on OMAP3430
@ 2009-10-05 11:22 y
  0 siblings, 0 replies; 16+ messages in thread
From: y @ 2009-10-05 11:22 UTC (permalink / raw)
  To: linux-omap; +Cc: Shweta Gulati

From: Shweta Gulati <shweta.gulati@ti.com>

Signed-off-by: Shweta Gulati <shweta.gulati@ti.com>
---
 arch/arm/mach-omap2/pm34xx.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index a9eda25..38f4781 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -140,6 +140,12 @@ static void omap3_core_save_context(void)
 	omap_ctrl_readl(OMAP343X_CONTROL_PADCONF_OFF);
 	control_padconf_off |= START_PADCONF_SAVE;
 	omap_ctrl_writel(control_padconf_off, OMAP343X_CONTROL_PADCONF_OFF);
+	/* Due to Silicon Bug on context restore it is found
+	 * that the CONTROL_PAD_CONF_ETK14 register is not saved into
+	 * scratch pad memory sometimes. To rectify it delay acess by Mpu
+	 * for 300us for scm to finish saving task
+	 */
+	udelay(300);
 	/* wait for the save to complete */
 	while (!omap_ctrl_readl(OMAP343X_CONTROL_GENERAL_PURPOSE_STATUS)
 			& PADCONF_SAVE_DONE)
-- 
1.5.4.7


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

end of thread, other threads:[~2009-10-06 15:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1254741761-31546-1-git-send-email-y>
2009-10-05 11:51 ` [PATCH] OMAP3: PM: Fix for Silicon bug on Context Restore on OMAP3430 Shilimkar, Santosh
2009-10-05 17:04 ` Kevin Hilman
2009-10-05 17:27   ` Nishanth Menon
2009-10-06  6:59     ` Gopinath, Thara
2009-10-06 11:50       ` Nishanth Menon
2009-10-06 13:17       ` Kevin Hilman
2009-10-06 13:31         ` Gopinath, Thara
2009-10-06 14:20           ` Kevin Hilman
2009-10-06 14:35             ` Gopinath, Thara
2009-10-06 14:49               ` Kevin Hilman
2009-10-06 14:54                 ` Gopinath, Thara
2009-10-06 15:05                   ` Kevin Hilman
2009-10-06 15:17                     ` Nishanth Menon
2009-10-06 15:23                       ` Gopinath, Thara
2009-10-06 15:25                         ` Nishanth Menon
2009-10-05 11:22 y

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.