msm: acpuclock-8064: Add PVS tables for 1.7 GHz parts

Add all seven PVS bins.

Change-Id: Ifa49a8e81f5fe2c478cf5ff7545c25c4f7430d6e
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
This commit is contained in:
Patrick Daly 2012-11-28 12:46:38 -08:00 committed by Stephen Boyd
parent 08ced2f233
commit 1a722e1de8

View file

@ -241,20 +241,127 @@ static struct acpu_level tbl_faster[] __initdata = {
static struct acpu_level tbl_PVS0_1700MHz[] __initdata = {
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 950000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 975000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 1000000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 1025000 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 1075000 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 1100000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 1125000 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1175000 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 1200000 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 1225000 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 1237500 },
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(15), 1250000 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1250000 },
{ 1, { 1620000, HFPLL, 1, 0x3C }, L2(15), 1250000 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1250000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 950000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 950000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 962500 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 1000000 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 1025000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 1037500 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1075000 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 1087500 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 1125000 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 1150000 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1175000 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1225000 },
{ 1, { 1728000, HFPLL, 1, 0x40 }, L2(15), 1250000 },
{ 0, { 0 } }
};
static struct acpu_level tbl_PVS1_1700MHz[] __initdata = {
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 950000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 950000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 950000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 962500 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 975000 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 1000000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 1012500 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1037500 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 1050000 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 1087500 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 1112500 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1150000 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1187500 },
{ 1, { 1728000, HFPLL, 1, 0x40 }, L2(15), 1200000 },
{ 0, { 0 } }
};
static struct acpu_level tbl_PVS2_1700MHz[] __initdata = {
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 925000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 925000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 925000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 925000 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 937500 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 950000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 975000 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1000000 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 1012500 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 1037500 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 1075000 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1100000 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1137500 },
{ 1, { 1728000, HFPLL, 1, 0x40 }, L2(15), 1162500 },
{ 0, { 0 } }
};
static struct acpu_level tbl_PVS3_1700MHz[] __initdata = {
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 900000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 900000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 900000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 900000 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 900000 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 925000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 950000 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 975000 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 987500 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 1000000 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 1037500 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1062500 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1100000 },
{ 1, { 1728000, HFPLL, 1, 0x40 }, L2(15), 1125000 },
{ 0, { 0 } }
};
static struct acpu_level tbl_PVS4_1700MHz[] __initdata = {
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 875000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 875000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 875000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 875000 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 887500 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 900000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 925000 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 950000 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 962500 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 975000 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 1000000 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1037500 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1075000 },
{ 1, { 1728000, HFPLL, 1, 0x40 }, L2(15), 1100000 },
{ 0, { 0 } }
};
static struct acpu_level tbl_PVS5_1700MHz[] __initdata = {
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 875000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 875000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 875000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 875000 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 887500 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 900000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 925000 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 937500 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 950000 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 962500 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 987500 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1012500 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1050000 },
{ 1, { 1728000, HFPLL, 1, 0x40 }, L2(15), 1075000 },
{ 0, { 0 } }
};
static struct acpu_level tbl_PVS6_1700MHz[] __initdata = {
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 875000 },
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(6), 875000 },
{ 1, { 594000, HFPLL, 1, 0x16 }, L2(6), 875000 },
{ 1, { 702000, HFPLL, 1, 0x1A }, L2(6), 875000 },
{ 1, { 810000, HFPLL, 1, 0x1E }, L2(6), 887500 },
{ 1, { 918000, HFPLL, 1, 0x22 }, L2(6), 900000 },
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(6), 925000 },
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 937500 },
{ 1, { 1242000, HFPLL, 1, 0x2E }, L2(15), 950000 },
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(15), 962500 },
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(15), 975000 },
{ 1, { 1566000, HFPLL, 1, 0x3A }, L2(15), 1000000 },
{ 1, { 1674000, HFPLL, 1, 0x3E }, L2(15), 1025000 },
{ 1, { 1728000, HFPLL, 1, 0x40 }, L2(15), 1050000 },
{ 0, { 0 } }
};
@ -398,12 +505,12 @@ static struct pvs_table pvs_tables[NUM_SPEED_BINS][NUM_PVS] __initdata = {
[0][PVS_FASTER] = {tbl_faster, sizeof(tbl_faster), 25000 },
[1][0] = { tbl_PVS0_1700MHz, sizeof(tbl_PVS0_1700MHz), 0 },
[1][1] = { tbl_PVS0_1700MHz, sizeof(tbl_PVS0_1700MHz), 0 },
[1][2] = { tbl_PVS0_1700MHz, sizeof(tbl_PVS0_1700MHz), 0 },
[1][3] = { tbl_PVS0_1700MHz, sizeof(tbl_PVS0_1700MHz), 0 },
[1][4] = { tbl_PVS0_1700MHz, sizeof(tbl_PVS0_1700MHz), 0 },
[1][5] = { tbl_PVS0_1700MHz, sizeof(tbl_PVS0_1700MHz), 0 },
[1][6] = { tbl_PVS0_1700MHz, sizeof(tbl_PVS0_1700MHz), 0 },
[1][1] = { tbl_PVS1_1700MHz, sizeof(tbl_PVS1_1700MHz), 0 },
[1][2] = { tbl_PVS2_1700MHz, sizeof(tbl_PVS2_1700MHz), 0 },
[1][3] = { tbl_PVS3_1700MHz, sizeof(tbl_PVS3_1700MHz), 0 },
[1][4] = { tbl_PVS4_1700MHz, sizeof(tbl_PVS4_1700MHz), 0 },
[1][5] = { tbl_PVS5_1700MHz, sizeof(tbl_PVS5_1700MHz), 0 },
[1][6] = { tbl_PVS6_1700MHz, sizeof(tbl_PVS6_1700MHz), 0 },
[2][0] = { tbl_PVS0_2000MHz, sizeof(tbl_PVS0_2000MHz), 0 },
[2][1] = { tbl_PVS1_2000MHz, sizeof(tbl_PVS1_2000MHz), 0 },