ARM: tegra11: power: Add A01P CPU EDP table
Alex Frid [Tue, 4 Dec 2012 04:19:32 +0000 (20:19 -0800)]
Signed-off-by: Alex Frid <afrid@nvidia.com>
Change-Id: Iea6aff82147bfebf9f4d16d6f6de6c7dea3d9d11
Reviewed-on: http://git-master/r/168244
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 b4b8f6d..cc119c7 100644 (file)
@@ -328,7 +328,38 @@ static struct tegra_edp_limits edp_default_limits[] = {
 static int temperatures[] = { 23, 40, 50, 60, 70, 75, 80, 85, 90, 95 };
 static struct tegra_edp_cpu_leakage_params leakage_params[] = {
        {
-               .cpu_speedo_id      = 0, /* SKU 0 */
+               .cpu_speedo_id      = 0, /* A01 CPU */
+               .dyn_consts_n       = { 1091747, 2035205, 2978661, 3922119 },
+               .leakage_consts_n   = {  538991,  752463,  959441, 1150000 },
+               .leakage_consts_ijk = {
+                        /* i = 0 */
+                        { {  -42746668,   -5458429,   164998,  -1711, },
+                          {  178262421,   13375684,  -411791,   4590, },
+                          { -228866784,  -10482993,   331248,  -4062, },
+                          {   94301550,    2618719,   -85983,   1193, },
+                        },
+                        /* i = 1 */
+                        { { -256611791,   49677413, -1655785,  14917, },
+                          {  584675433, -132620939,  4541560, -41812, },
+                          { -398106336,  115987156, -4102328,  38737, },
+                          {   68897184,  -33030745,  1217839, -11801, },
+                        },
+                        /* i = 2 */
+                        { {  186324676,  -36019083,  1177969, -10669, },
+                          { -439237936,   98429131, -3276444,  30301, },
+                          {  315060898,  -88635036,  3004777, -28474, },
+                          {  -60854399,   26267188,  -907121,   8844, },
+                        },
+                        /* i = 3 */
+                        { {  -35432997,    6154621,  -202200,   1830, },
+                          {   87402153,  -16908683,   565152,  -5220, },
+                          {  -67775314,   15326770,  -521221,   4927, },
+                          {   15618709,   -4576116,   158401,  -1538, },
+                        },
+                },
+       },
+       {
+               .cpu_speedo_id      = 1, /* A01P+ CPU */
                .dyn_consts_n       = { 1091747, 2035205, 2978661, 3922119 },
                .leakage_consts_n   = {  538991,  752463,  959441, 1150000 },
                .leakage_consts_ijk = {