aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/opp4xxx_data.c
diff options
context:
space:
mode:
authorOleksandr Kozaruk <oleksandr.kozaruk@ti.com>2011-11-07 18:49:58 -0600
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:55:25 +0200
commitbd26f6386e67480560432f47a862c448a830722d (patch)
treefcace15ba1b3b81734afdf92d61419ef4019c885 /arch/arm/mach-omap2/opp4xxx_data.c
parent0dd72eb681889b2111e06f0b4b9469edba277793 (diff)
downloadkernel_samsung_tuna-bd26f6386e67480560432f47a862c448a830722d.zip
kernel_samsung_tuna-bd26f6386e67480560432f47a862c448a830722d.tar.gz
kernel_samsung_tuna-bd26f6386e67480560432f47a862c448a830722d.tar.bz2
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/arm/mach-omap2/opp4xxx_data.c')
-rwxr-xr-xarch/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 7ff30de..21ac13f 100755
--- a/arch/arm/mach-omap2/opp4xxx_data.c
+++ b/arch/arm/mach-omap2/opp4xxx_data.c
@@ -551,7 +551,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);
}