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: I46ca8ec84a02b177afdd60703764be60ab2476c5
Reviewed-on: http://git-master/r/326397
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

arch/arm/mach-tegra/edp.c

index 29f4fe6..2b06e54 100644 (file)
@@ -450,7 +450,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,