All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP3: Fix iva2_pwrdm settings for 3703
@ 2013-05-15  0:25 Tony Lindgren
  2013-05-15  1:52 ` Mark A. Greer
  0 siblings, 1 reply; 29+ messages in thread
From: Tony Lindgren @ 2013-05-15  0:25 UTC (permalink / raw)
  To: linux-arm-kernel

Commit a819c4f1 (ARM: OMAP3: PM: Only access IVA if one exists)
changed PM to not access IVA registers on omaps that don't have
them. Turns out we still need to idle iva2 as otherwise iva2_pwrdm
will stay on and block deeper idle states.

Signed-off-by: Tony Lindgren <tony@atomide.com>

---

Paul & Kevin, do you have better ideas for fixing this?

--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -546,8 +546,10 @@ static void __init prcm_setup_regs(void)
 	/* Clear any pending PRCM interrupts */
 	omap2_prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
 
-	if (omap3_has_iva())
-		omap3_iva_idle();
+	/*
+	 * We need to idle iva2_pwrdm even on am3703 with no iva2.
+	 */
+	omap3_iva_idle();
 
 	omap3_d2d_idle();
 }

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

end of thread, other threads:[~2013-05-22  8:09 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15  0:25 [PATCH] ARM: OMAP3: Fix iva2_pwrdm settings for 3703 Tony Lindgren
2013-05-15  1:52 ` Mark A. Greer
2013-05-15 17:07   ` Tony Lindgren
2013-05-15 17:07     ` Tony Lindgren
2013-05-15 21:50     ` Mark A. Greer
2013-05-15 21:50       ` Mark A. Greer
2013-05-16 10:19       ` Yegor Yefremov
2013-05-16 10:19         ` Yegor Yefremov
2013-05-16 18:35         ` Tony Lindgren
2013-05-16 18:35           ` Tony Lindgren
2013-05-16 18:54           ` Tony Lindgren
2013-05-16 18:54             ` Tony Lindgren
2013-05-17 18:47           ` Mark A. Greer
2013-05-17 18:47             ` Mark A. Greer
2013-05-17 18:56         ` Mark A. Greer
2013-05-17 18:56           ` Mark A. Greer
2013-05-17 21:28           ` Yegor Yefremov
2013-05-17 21:28             ` Yegor Yefremov
2013-05-20 22:05             ` Tony Lindgren
2013-05-20 22:05               ` Tony Lindgren
2013-05-21  9:17               ` Yegor Yefremov
2013-05-21  9:17                 ` Yegor Yefremov
2013-05-21 15:56               ` Mark A. Greer
2013-05-21 15:56                 ` Mark A. Greer
2013-05-21 18:20               ` Kevin Hilman
2013-05-21 18:20                 ` Kevin Hilman
2013-05-22  8:09                 ` Yegor Yefremov
2013-05-22  8:09                   ` Yegor Yefremov
2013-05-17 21:05   ` Mark A. Greer

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.