ARM: OMAP3: hwmod data: fix IVA interface clock
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:35 +0000 (04:04 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:25:07 +0000 (04:25 -0600)
The OMAP3 hwmod data listed iva2_ck as an interface clock between the
IVA and L3.  This is incorrect.  iva2_ck is not an interface clock.
Since it cannot auto-idle, specifying it here prevents the IVA and at
least one of the CORE clockdomains from going idle, which causes PM
problems such as these upon system suspend:

[   70.626129] Powerdomain (iva2_pwrdm) didn't enter target state 1
[   70.626190] Powerdomain (core_pwrdm) didn't enter target state 1

Fix by specifying the actual interface clock in the hwmod data.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

index 7fd34b3775554fce75b60e5ba17317d5ff0e5aa8..15cdc4abd6e205f4ca16b5e0d2a162f8cc2dc7ec 100644 (file)
@@ -2348,7 +2348,7 @@ static struct omap_hwmod_ocp_if omap3xxx_l4_wkup__l4_sec = {
 static struct omap_hwmod_ocp_if omap3xxx_l3__iva = {
        .master         = &omap3xxx_l3_main_hwmod,
        .slave          = &omap3xxx_iva_hwmod,
-       .clk            = "iva2_ck",
+       .clk            = "core_l3_ick",
        .user           = OCP_USER_MPU | OCP_USER_SDMA,
 };