summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorOleksandr Kozaruk <oleksandr.kozaruk@ti.com>2011-11-07 18:49:58 -0600
committerXavier Boudet <x-boudet@ti.com>2013-01-14 09:46:36 +0100
commit96f41cf2c39599e1327cc843562aaba8707bbbb1 (patch)
tree8e0b6a5d0bad0a1551978e425460e7a9075ff1b7 /arch
parent1702e4bc5ac3b50bc647e3b757eada369d3b8286 (diff)
OMAP4: HACK: disable OPP 1.5 GHz on untrimmed units.
Noticed device reboots with untrimmed 1.5 GHz units. Temporary workaround to restrict the max OPP to 1.2 GHz to make it functional. Change-Id: Ia254e34893e008b4a966e5987bdb7b0099793ebc Signed-off-by: Oleksandr Kozaruk <oleksandr.kozaruk@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/opp4xxx_data.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/opp4xxx_data.c b/arch/arm/mach-omap2/opp4xxx_data.c
index 5bf153a4148f..00223cee3a5a 100644
--- a/arch/arm/mach-omap2/opp4xxx_data.c
+++ b/arch/arm/mach-omap2/opp4xxx_data.c
@@ -498,7 +498,9 @@ int __init omap4_opp_init(void)
if (!r) {
if (omap4_has_mpu_1_2ghz())
omap4_mpu_opp_enable(1200000000);
- if (omap4_has_mpu_1_5ghz())
+ if (!trimmed)
+ pr_info("This is DPLL un-trimmed SOM. OPP is limited at 1.2 GHz\n");
+ if (omap4_has_mpu_1_5ghz() && trimmed)
omap4_mpu_opp_enable(1500000000);
}