aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm44xx.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2011-03-11 05:43:09 -0500
committerKevin Hilman <khilman@ti.com>2011-12-08 14:28:59 -0500
commit361b02f3538bc5603a426ed3bb04129a8d7b9a67 (patch)
tree48f7040c0a0b4d11ac4c9b4ad81daf5879d298e3 /arch/arm/mach-omap2/pm44xx.c
parent12f27826bdaf56b01cbdfc8bdeb577ebc106dee3 (diff)
ARM: OMAP4: PM: Avoid omap4_pm_init() on OMAP4430 ES1.0
On OMAP4430 ES1.0, Power Management features are not supported. Avoid omap4_pm_init() on ES1.0 silicon so that we can continue to use same kernel binary to boot on all OMAP4 silicons. The ES1.0 boot failure with OMAP4 PM series was because of the clockdomain initialisation code. Hardware supervised clockdomain mode isn't functional for all clockdomains on OMAP4430 ES1.0 silicon so avoid the same. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reported-by: Kevin Hilman <khilman@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Vishwanath BS <vishwanath.bs@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm44xx.c')
-rw-r--r--arch/arm/mach-omap2/pm44xx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c
index 715035d0512..35d392abcaa 100644
--- a/arch/arm/mach-omap2/pm44xx.c
+++ b/arch/arm/mach-omap2/pm44xx.c
@@ -105,6 +105,11 @@ static int __init omap4_pm_init(void)
105 if (!cpu_is_omap44xx()) 105 if (!cpu_is_omap44xx())
106 return -ENODEV; 106 return -ENODEV;
107 107
108 if (omap_rev() == OMAP4430_REV_ES1_0) {
109 WARN(1, "Power Management not supported on OMAP4430 ES1.0\n");
110 return -ENODEV;
111 }
112
108 pr_err("Power Management for TI OMAP4.\n"); 113 pr_err("Power Management for TI OMAP4.\n");
109 114
110 ret = pwrdm_for_each(pwrdms_setup, NULL); 115 ret = pwrdm_for_each(pwrdms_setup, NULL);