ARM: tegra11: power: Add AP40X cpu EDP table
Alex Frid [Thu, 25 Jul 2013 03:46:56 +0000 (20:46 -0700)]
Bug 1326355

Change-Id: I19b0a6dea4712b718477ca76f479fab0ff8b14b5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/253187
(cherry picked from commit fdd98a8a7524cfe540a117cc183c9b817a935614)
Reviewed-on: http://git-master/r/257729
(cherry picked from commit eefc0988bdc336000adfe63e0477b928da0425a2)
Reviewed-on: http://git-master/r/271883
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

arch/arm/mach-tegra/tegra11_edp.c

index 933108f..e6775c3 100644 (file)
@@ -874,6 +874,25 @@ static struct tegra_edp_cpu_leakage_params t11x_leakage_params[] = {
                },
                LEAKAGE_PARAMS_COMMON_PART,
        },
+       {
+               .cpu_speedo_id      = 3,
+               .safety_cap = { 1810500, 1810500, 1810500, 1810500 },
+               .max_current_cap = { /* fixed values */
+                       { .max_cur = 9000, .max_temp = 105,
+                               { 1810500, 1810500, 1530000, 1530000 }
+                       },
+                       { .max_cur = 9000, .max_temp = 90,
+                               { 1810500, 1810500, 1606500, 1606500 }
+                       },
+                       { .max_cur = 12000, .max_temp = 105,
+                               { 1810500, 1810500, 1708500, 1708500 }
+                       },
+                       { .max_cur = 15000, .max_temp = 105,
+                               { 1810500, 1810500, 1810500, 1810500 }
+                       },
+               },
+               LEAKAGE_PARAMS_COMMON_PART,
+       },
 };
 
 struct tegra_edp_cpu_leakage_params *tegra11x_get_leakage_params(int index,