arm: tegra: loose cpu edp power table calculation.
Roger Hsieh [Tue, 16 Jul 2013 05:56:25 +0000 (13:56 +0800)]
T40X will be limited to 1.8Ghz if cpu edp power table is applied.
Set the temp limit to 50 to restore the limit to 1.9G for T40X.

Bug 1310571

Change-Id: I6588e193820c34e1c4a8f6d2c82ceedc797a941c
Reviewed-on: http://git-master/r/249522
(cherry picked from commit aa2de86416fceee8e5aa051982be87f2a19a263f)

Signed-off-by: Roger Hsieh <rhsieh@nvidia.com>
Change-Id: I8df169f1f45b6e2acff624bf217ab592e4eba3ab
Reviewed-on: http://git-master/r/339731
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

arch/arm/mach-tegra/edp.c

index e646cdc..af5f6e0 100644 (file)
@@ -480,7 +480,7 @@ static int init_cpu_edp_limits_calculated(void)
                        power_edp_calc_limits[pwr_idx].power_limit_100mW =
                                power_cap_levels[pwr_idx] / 100;
                        limit = edp_calculate_maxf(params,
-                                                  90,
+                                                  50,
                                                   power_cap_levels[pwr_idx],
                                                   0,
                                                   iddq_mA,