arm: tegra: update edp parameters init for t11x
Diwakar Tundlam [Mon, 10 Jun 2013 23:09:43 +0000 (16:09 -0700)]
Updated leakage and dynamic parameters to compute EDP table fro T114
based on latest characterization data.

Bug 1304350

Change-Id: I503e7942c0f5c8bd401df086037694cba0e52bf6
Reviewed-on: http://git-master/r/241601
(cherry picked from commit f46bdb0f8a0b89e21cf1929a6eae354180141019)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/253749
Reviewed-by: Automatic_Commit_Validation_User

arch/arm/mach-tegra/tegra11_edp.c

index a9b2c6b..2fd3504 100644 (file)
@@ -118,37 +118,39 @@ static struct core_edp_entry core_edp_table[] = {
 #define LEAKAGE_CONSTS_IJK_COMMON                                      \
        {                                                               \
                /* i = 0 */                                             \
-               { {  -42746668,   -5458429,   164998,  -1711, },        \
-                 {  178262421,   13375684,  -411791,   4590, },        \
-                 { -228866784,  -10482993,   331248,  -4062, },        \
-                 {   94301550,    2618719,   -85983,   1193, },        \
+               { {   13919916,  -28721837,   7560552,  -570495, },     \
+                 {  -39991855,   87294629, -22972570,  1734058, },     \
+                 {   36869935,  -86826110,  22833611, -1723750, },     \
+                 {  -10611796,   28192235,  -7407903,   559012, },     \
                },                                                      \
                /* i = 1 */                                             \
-               { { -256611791,   49677413, -1655785,  14917, },        \
-                 {  584675433, -132620939,  4541560, -41812, },        \
-                 { -398106336,  115987156, -4102328,  38737, },        \
-                 {   68897184,  -33030745,  1217839, -11801, },        \
+               { {  -37335213,   53397584, -16025243,  1341064, },     \
+                 {  111121782, -160756323,  48421377, -4049609, },     \
+                 { -107149149,  157911131, -47786861,  3994796, },     \
+                 {   32802647,  -49872380,  15236453, -1268662, },     \
                },                                                      \
                /* i = 2 */                                             \
-               { {  186324676,  -36019083,  1177969, -10669, },        \
-                 { -439237936,   98429131, -3276444,  30301, },        \
-                 {  315060898,  -88635036,  3004777, -28474, },        \
-                 {  -60854399,   26267188,  -907121,   8844, },        \
-               },                                                      \
+               { {    3315214,  -21010655,   7718286,  -789185, },     \
+                 {   -4336249,   59786076, -22312653,  2313754, },     \
+                 {   -3346058,  -54529998,  20777469, -2198700, },     \
+                 {    4810027,   15417133,  -6086955,   665766, },     \
+               },                                                      \
                /* i = 3 */                                             \
-               { {  -35432997,    6154621,  -202200,   1830, },        \
-                 {   87402153,  -16908683,   565152,  -5220, },        \
-                 {  -67775314,   15326770,  -521221,   4927, },        \
-                 {   15618709,   -4576116,   158401,  -1538, },        \
-               },                                                      \
+               { {    4681958,   -1470999,   -232691,    73384, },     \
+                 {  -15445149,    5487248,    422447,  -201475, },     \
+                 {   16983482,   -6716242,    -65917,   174128, },     \
+                 {   -6293336,    2756799,   -140100,   -44673, },     \
+               },                                                      \
        }
 
 #define LEAKAGE_PARAMS_COMMON_PART                                     \
+       .temp_scaled        = 10,                                       \
        .dyn_scaled         = 1000000,                                  \
-       .dyn_consts_n       = { 1091747, 2035205, 2978661, 3922119 },   \
+       .dyn_consts_n       = { 1410000, 2440000, 3450000, 4440000 },   \
        .consts_scaled      = 1000000,                                  \
-       .leakage_consts_n   = {  538991,  752463,  959441, 1150000 },   \
-       .ijk_scaled         = 100000,                                   \
+       .leakage_consts_n   = {  400000,  650000,  850000, 1050000 },   \
+       .ijk_scaled         = 10000,                                    \
+       .leakage_min        = 30,                                       \
        .volt_temp_cap      = { 70, 1300 },                             \
        .leakage_consts_ijk = LEAKAGE_CONSTS_IJK_COMMON