mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
370 lines
16 KiB
Diff
370 lines
16 KiB
Diff
From 7c00691c59e2a760c6d780bed116ee34717f0233 Mon Sep 17 00:00:00 2001
|
|
From: "H. Peter Anvin" <hpa@linux.intel.com>
|
|
Date: Thu, 7 Feb 2013 17:14:08 -0800
|
|
Subject: [PATCH 1/4] timeconst.pl: Eliminate Perl warning
|
|
|
|
commit 63a3f603413ffe82ad775f2d62a5afff87fd94a0 upstream.
|
|
|
|
defined(@array) is deprecated in Perl and gives off a warning.
|
|
Restructure the code to remove that warning.
|
|
|
|
[ hpa: it would be interesting to revert to the timeconst.bc script.
|
|
It appears that the failures reported by akpm during testing of
|
|
that script was due to a known broken version of make, not a problem
|
|
with bc. The Makefile rules could probably be restructured to avoid
|
|
the make bug, or it is probably old enough that it doesn't matter. ]
|
|
|
|
Reported-by: Andi Kleen <ak@linux.intel.com>
|
|
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
|
Cc: Andrew Morton <akpm@linux-foundation.org>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
kernel/timeconst.pl | 6 ++----
|
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
|
|
index eb51d76..3f42652 100644
|
|
--- a/kernel/timeconst.pl
|
|
+++ b/kernel/timeconst.pl
|
|
@@ -369,10 +369,8 @@ if ($hz eq '--can') {
|
|
die "Usage: $0 HZ\n";
|
|
}
|
|
|
|
- @val = @{$canned_values{$hz}};
|
|
- if (!defined(@val)) {
|
|
- @val = compute_values($hz);
|
|
- }
|
|
+ $cv = $canned_values{$hz};
|
|
+ @val = defined($cv) ? @$cv : compute_values($hz);
|
|
output($hz, @val);
|
|
}
|
|
exit 0;
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From 40bdf0ee06c0a50dc1fd6b830244a81b519fab45 Mon Sep 17 00:00:00 2001
|
|
From: superr <superr@ddayweb.com>
|
|
Date: Fri, 27 Mar 2015 15:39:54 -0500
|
|
Subject: [PATCH 2/4] Add OC
|
|
|
|
---
|
|
arch/arm/mach-msm/acpuclock-8930.c | 14 ++++++++++++++
|
|
1 file changed, 14 insertions(+)
|
|
|
|
diff --git a/arch/arm/mach-msm/acpuclock-8930.c b/arch/arm/mach-msm/acpuclock-8930.c
|
|
index 2dfb3dd..0b35c76 100644
|
|
--- a/arch/arm/mach-msm/acpuclock-8930.c
|
|
+++ b/arch/arm/mach-msm/acpuclock-8930.c
|
|
@@ -149,6 +149,8 @@ static struct l2_level l2_freq_tbl[] __initdata = {
|
|
[13] = { { 1080000, HFPLL, 1, 0x28 }, LVL_HIGH, 1150000, 7 },
|
|
[14] = { { 1134000, HFPLL, 1, 0x2A }, LVL_HIGH, 1150000, 7 },
|
|
[15] = { { 1188000, HFPLL, 1, 0x2C }, LVL_HIGH, 1150000, 7 },
|
|
+ [16] = { { 1242000, HFPLL, 1, 0x30 }, LVL_HIGH, 1150000, 7 },
|
|
+ [17] = { { 1296000, HFPLL, 1, 0x32 }, LVL_HIGH, 1150000, 7 },
|
|
{ }
|
|
};
|
|
|
|
@@ -169,6 +171,10 @@ static struct acpu_level acpu_freq_tbl_slow[] __initdata = {
|
|
{ 0, { 1080000, HFPLL, 1, 0x28 }, L2(15), 1175000 },
|
|
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1175000 },
|
|
{ 1, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1200000 },
|
|
+ { 1, { 1300000, HFPLL, 1, 0x30 }, L2(15), 1225000 },
|
|
+ { 1, { 1400000, HFPLL, 1, 0x32 }, L2(15), 1237500 },
|
|
+ { 1, { 1500000, HFPLL, 1, 0x34 }, L2(15), 1250000 },
|
|
+ { 1, { 1600000, HFPLL, 1, 0x36 }, L2(15), 1275000 },
|
|
{ 0, { 0 } }
|
|
};
|
|
|
|
@@ -189,6 +195,10 @@ static struct acpu_level acpu_freq_tbl_nom[] __initdata = {
|
|
{ 0, { 1080000, HFPLL, 1, 0x28 }, L2(15), 1150000 },
|
|
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1150000 },
|
|
{ 1, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1175000 },
|
|
+ { 1, { 1300000, HFPLL, 1, 0x30 }, L2(15), 1200000 },
|
|
+ { 1, { 1400000, HFPLL, 1, 0x32 }, L2(15), 1212500 },
|
|
+ { 1, { 1500000, HFPLL, 1, 0x34 }, L2(15), 1225000 },
|
|
+ { 1, { 1600000, HFPLL, 1, 0x36 }, L2(15), 1250000 },
|
|
{ 0, { 0 } }
|
|
};
|
|
|
|
@@ -209,6 +219,10 @@ static struct acpu_level acpu_freq_tbl_fast[] __initdata = {
|
|
{ 0, { 1080000, HFPLL, 1, 0x28 }, L2(15), 1100000 },
|
|
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1100000 },
|
|
{ 1, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1125000 },
|
|
+ { 1, { 1300000, HFPLL, 1, 0x30 }, L2(15), 1150000 },
|
|
+ { 1, { 1400000, HFPLL, 1, 0x32 }, L2(15), 1162500 },
|
|
+ { 1, { 1500000, HFPLL, 1, 0x34 }, L2(15), 1175000 },
|
|
+ { 1, { 1600000, HFPLL, 1, 0x36 }, L2(15), 1200000 },
|
|
{ 0, { 0 } }
|
|
};
|
|
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From 37a6b5c7a19d1fe2411e25983a708be6027dbfe7 Mon Sep 17 00:00:00 2001
|
|
From: superr <superr@ddayweb.com>
|
|
Date: Sat, 28 Mar 2015 09:34:32 -0500
|
|
Subject: [PATCH 3/4] OC to 2GHz
|
|
|
|
---
|
|
arch/arm/mach-msm/acpuclock-8930.c | 96 ++++++++++++++++++++++++--------------
|
|
1 file changed, 62 insertions(+), 34 deletions(-)
|
|
|
|
diff --git a/arch/arm/mach-msm/acpuclock-8930.c b/arch/arm/mach-msm/acpuclock-8930.c
|
|
index 0b35c76..9067efc 100644
|
|
--- a/arch/arm/mach-msm/acpuclock-8930.c
|
|
+++ b/arch/arm/mach-msm/acpuclock-8930.c
|
|
@@ -123,6 +123,9 @@ static struct msm_bus_paths bw_level_tbl[] __initdata = {
|
|
[5] = BW_MBPS(3600), /* At least 450 MHz on bus. */
|
|
[6] = BW_MBPS(3936), /* At least 492 MHz on bus. */
|
|
[7] = BW_MBPS(4264), /* At least 533 MHz on bus. */
|
|
+ [8] = BW_MBPS(4532), /* At least 566 MHz on bus. */
|
|
+ [9] = BW_MBPS(4624), /* At least 578 MHz on bus. */
|
|
+ [10] = BW_MBPS(4800), /* At least 600 MHz on bus. */
|
|
};
|
|
|
|
static struct msm_bus_scale_pdata bus_scale_data __initdata = {
|
|
@@ -133,24 +136,25 @@ static struct msm_bus_scale_pdata bus_scale_data __initdata = {
|
|
};
|
|
|
|
static struct l2_level l2_freq_tbl[] __initdata = {
|
|
- [0] = { { 384000, PLL_8, 0, 0x00 }, LVL_LOW, 1050000, 1 },
|
|
- [1] = { { 432000, HFPLL, 2, 0x20 }, LVL_NOM, 1050000, 2 },
|
|
- [2] = { { 486000, HFPLL, 2, 0x24 }, LVL_NOM, 1050000, 2 },
|
|
- [3] = { { 540000, HFPLL, 2, 0x28 }, LVL_NOM, 1050000, 2 },
|
|
- [4] = { { 594000, HFPLL, 1, 0x16 }, LVL_NOM, 1050000, 2 },
|
|
- [5] = { { 648000, HFPLL, 1, 0x18 }, LVL_NOM, 1050000, 4 },
|
|
- [6] = { { 702000, HFPLL, 1, 0x1A }, LVL_NOM, 1050000, 4 },
|
|
- [7] = { { 756000, HFPLL, 1, 0x1C }, LVL_HIGH, 1150000, 4 },
|
|
- [8] = { { 810000, HFPLL, 1, 0x1E }, LVL_HIGH, 1150000, 4 },
|
|
- [9] = { { 864000, HFPLL, 1, 0x20 }, LVL_HIGH, 1150000, 4 },
|
|
- [10] = { { 918000, HFPLL, 1, 0x22 }, LVL_HIGH, 1150000, 7 },
|
|
- [11] = { { 972000, HFPLL, 1, 0x24 }, LVL_HIGH, 1150000, 7 },
|
|
- [12] = { { 1026000, HFPLL, 1, 0x26 }, LVL_HIGH, 1150000, 7 },
|
|
- [13] = { { 1080000, HFPLL, 1, 0x28 }, LVL_HIGH, 1150000, 7 },
|
|
- [14] = { { 1134000, HFPLL, 1, 0x2A }, LVL_HIGH, 1150000, 7 },
|
|
- [15] = { { 1188000, HFPLL, 1, 0x2C }, LVL_HIGH, 1150000, 7 },
|
|
- [16] = { { 1242000, HFPLL, 1, 0x30 }, LVL_HIGH, 1150000, 7 },
|
|
- [17] = { { 1296000, HFPLL, 1, 0x32 }, LVL_HIGH, 1150000, 7 },
|
|
+ [0] = { { 384000, PLL_8, 0, 0x00 }, LVL_LOW, 1050000, 1 }, //133mhz fsb
|
|
+ [1] = { { 432000, HFPLL, 2, 0x20 }, LVL_NOM, 1050000, 2 }, //266mhz fsb
|
|
+ [2] = { { 486000, HFPLL, 2, 0x24 }, LVL_NOM, 1050000, 2 }, //266mhz fsb
|
|
+ [3] = { { 540000, HFPLL, 2, 0x28 }, LVL_NOM, 1050000, 2 }, //266mhz fsb
|
|
+ [4] = { { 594000, HFPLL, 1, 0x16 }, LVL_NOM, 1050000, 2 }, //266mhz fsb
|
|
+ [5] = { { 648000, HFPLL, 1, 0x18 }, LVL_NOM, 1050000, 4 }, //400mhz fsb
|
|
+ [6] = { { 702000, HFPLL, 1, 0x1A }, LVL_NOM, 1050000, 4 }, //400mhz fsb
|
|
+ [7] = { { 756000, HFPLL, 1, 0x1C }, LVL_HIGH, 1150000, 4 }, //400mhz fsb
|
|
+ [8] = { { 810000, HFPLL, 1, 0x1E }, LVL_HIGH, 1150000, 4 }, //400mhz fsb
|
|
+ [9] = { { 864000, HFPLL, 1, 0x20 }, LVL_HIGH, 1150000, 4 }, //400mhz fsb
|
|
+ [10] = { { 918000, HFPLL, 1, 0x22 }, LVL_HIGH, 1150000, 7 }, //533mhz fsb
|
|
+ [11] = { { 972000, HFPLL, 1, 0x24 }, LVL_HIGH, 1150000, 7 }, //533mhz fsb
|
|
+ [12] = { { 1026000, HFPLL, 1, 0x26 }, LVL_HIGH, 1150000, 7 }, //533mhz fsb
|
|
+ [13] = { { 1080000, HFPLL, 1, 0x28 }, LVL_HIGH, 1150000, 7 }, //533mhz fsb
|
|
+ [14] = { { 1134000, HFPLL, 1, 0x2A }, LVL_HIGH, 1150000, 7 }, //533mhz fsb
|
|
+ [15] = { { 1188000, HFPLL, 1, 0x2C }, LVL_HIGH, 1150000, 7 }, //533mhz fsb
|
|
+ [16] = { { 1242000, HFPLL, 1, 0x2E }, LVL_HIGH, 1150000, 7 },
|
|
+ [17] = { { 1296000, HFPLL, 1, 0x30 }, LVL_HIGH, 1150000, 7 },
|
|
+ [18] = { { 1350000, HFPLL, 1, 0x32 }, LVL_HIGH, 1150000, 10 }, //600mhz fsb
|
|
{ }
|
|
};
|
|
|
|
@@ -171,14 +175,13 @@ static struct acpu_level acpu_freq_tbl_slow[] __initdata = {
|
|
{ 0, { 1080000, HFPLL, 1, 0x28 }, L2(15), 1175000 },
|
|
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1175000 },
|
|
{ 1, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1200000 },
|
|
- { 1, { 1300000, HFPLL, 1, 0x30 }, L2(15), 1225000 },
|
|
- { 1, { 1400000, HFPLL, 1, 0x32 }, L2(15), 1237500 },
|
|
- { 1, { 1500000, HFPLL, 1, 0x34 }, L2(15), 1250000 },
|
|
- { 1, { 1600000, HFPLL, 1, 0x36 }, L2(15), 1275000 },
|
|
{ 0, { 0 } }
|
|
};
|
|
|
|
static struct acpu_level acpu_freq_tbl_nom[] __initdata = {
|
|
+ { 1, { 162000, HFPLL, 2, 0x0C }, L2(0), 875000 },
|
|
+ { 1, { 270000, HFPLL, 2, 0x14 }, L2(0), 900000 },
|
|
+ { 0, { 378000, HFPLL, 2, 0x1C }, L2(0), 925000 },
|
|
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 925000 },
|
|
{ 0, { 432000, HFPLL, 2, 0x20 }, L2(5), 950000 },
|
|
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(5), 950000 },
|
|
@@ -193,17 +196,31 @@ static struct acpu_level acpu_freq_tbl_nom[] __initdata = {
|
|
{ 0, { 972000, HFPLL, 1, 0x24 }, L2(10), 1100000 },
|
|
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(10), 1100000 },
|
|
{ 0, { 1080000, HFPLL, 1, 0x28 }, L2(15), 1150000 },
|
|
- { 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1150000 },
|
|
- { 1, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1175000 },
|
|
- { 1, { 1300000, HFPLL, 1, 0x30 }, L2(15), 1200000 },
|
|
- { 1, { 1400000, HFPLL, 1, 0x32 }, L2(15), 1212500 },
|
|
- { 1, { 1500000, HFPLL, 1, 0x34 }, L2(15), 1225000 },
|
|
- { 1, { 1600000, HFPLL, 1, 0x36 }, L2(15), 1250000 },
|
|
+ { 0, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1150000 },
|
|
+ { 1, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1150000 },
|
|
+ { 1, { 1242000, HFPLL, 1, 0x2E }, L2(18), 1150000 },
|
|
+ { 0, { 1296000, HFPLL, 1, 0x30 }, L2(18), 1175000 },
|
|
+ { 1, { 1350000, HFPLL, 1, 0x32 }, L2(18), 1175000 },
|
|
+ { 0, { 1404000, HFPLL, 1, 0x34 }, L2(18), 1187500 },
|
|
+ { 1, { 1458000, HFPLL, 1, 0x36 }, L2(18), 1187500 },
|
|
+ { 1, { 1512000, HFPLL, 1, 0x38 }, L2(18), 1200000 },
|
|
+ { 1, { 1566000, HFPLL, 1, 0x3A }, L2(18), 1225000 },
|
|
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(18), 1237500 },
|
|
+ { 1, { 1674000, HFPLL, 1, 0x3E }, L2(18), 1250000 },
|
|
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(18), 1267500 },
|
|
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(18), 1275000 },
|
|
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(18), 1300000 },
|
|
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(18), 1312500 },
|
|
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(18), 1325000 },
|
|
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(18), 1337500 },
|
|
{ 0, { 0 } }
|
|
};
|
|
|
|
static struct acpu_level acpu_freq_tbl_fast[] __initdata = {
|
|
- { 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 900000 },
|
|
+ { 1, { 162000, HFPLL, 2, 0x0C }, L2(0), 850000 },
|
|
+ { 1, { 270000, HFPLL, 2, 0x14 }, L2(0), 875000 },
|
|
+ { 0, { 378000, HFPLL, 2, 0x1C }, L2(0), 900000 },
|
|
+ { 0, { 384000, PLL_8, 0, 0x00 }, L2(0), 900000 },
|
|
{ 0, { 432000, HFPLL, 2, 0x20 }, L2(5), 900000 },
|
|
{ 1, { 486000, HFPLL, 2, 0x24 }, L2(5), 900000 },
|
|
{ 0, { 540000, HFPLL, 2, 0x28 }, L2(5), 925000 },
|
|
@@ -218,11 +235,22 @@ static struct acpu_level acpu_freq_tbl_fast[] __initdata = {
|
|
{ 1, { 1026000, HFPLL, 1, 0x26 }, L2(10), 1050000 },
|
|
{ 0, { 1080000, HFPLL, 1, 0x28 }, L2(15), 1100000 },
|
|
{ 1, { 1134000, HFPLL, 1, 0x2A }, L2(15), 1100000 },
|
|
- { 1, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1125000 },
|
|
- { 1, { 1300000, HFPLL, 1, 0x30 }, L2(15), 1150000 },
|
|
- { 1, { 1400000, HFPLL, 1, 0x32 }, L2(15), 1162500 },
|
|
- { 1, { 1500000, HFPLL, 1, 0x34 }, L2(15), 1175000 },
|
|
- { 1, { 1600000, HFPLL, 1, 0x36 }, L2(15), 1200000 },
|
|
+ { 0, { 1188000, HFPLL, 1, 0x2C }, L2(15), 1125000 },
|
|
+ { 0, { 1242000, HFPLL, 1, 0x2E }, L2(18), 1125000 },
|
|
+ { 0, { 1296000, HFPLL, 1, 0x30 }, L2(18), 1125000 },
|
|
+ { 1, { 1350000, HFPLL, 1, 0x32 }, L2(18), 1125000 },
|
|
+ { 0, { 1404000, HFPLL, 1, 0x34 }, L2(18), 1137500 },
|
|
+ { 1, { 1458000, HFPLL, 1, 0x36 }, L2(18), 1137500 },
|
|
+ { 1, { 1512000, HFPLL, 1, 0x38 }, L2(18), 1150000 },
|
|
+ { 1, { 1566000, HFPLL, 1, 0x3A }, L2(18), 1175000 },
|
|
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(18), 1190000 },
|
|
+ { 1, { 1674000, HFPLL, 1, 0x3E }, L2(18), 1200000 },
|
|
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(18), 1225000 },
|
|
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(18), 1250000 },
|
|
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(18), 1275000 },
|
|
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(18), 1312500 },
|
|
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(18), 1325000 },
|
|
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(18), 1337500 },
|
|
{ 0, { 0 } }
|
|
};
|
|
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From 9e64678050785692e766e29c11bfe4c7d1e72995 Mon Sep 17 00:00:00 2001
|
|
From: Tad <tad@spotco.us>
|
|
Date: Sun, 11 Dec 2016 20:41:35 -0500
|
|
Subject: [PATCH 4/4] Max OC
|
|
|
|
Change-Id: I6e2089eb1f8de9200964acd6271649f6af70edfd
|
|
---
|
|
arch/arm/mach-msm/acpuclock-8930.c | 9 +++++----
|
|
arch/arm/mach-msm/acpuclock-krait.c | 2 +-
|
|
arch/arm/mach-msm/board-8930-regulator-pm8038.c | 4 ++--
|
|
arch/arm/mach-msm/board-8930-regulator-pm8917.c | 4 ++--
|
|
4 files changed, 10 insertions(+), 9 deletions(-)
|
|
|
|
diff --git a/arch/arm/mach-msm/acpuclock-8930.c b/arch/arm/mach-msm/acpuclock-8930.c
|
|
index 9067efc..693a254 100644
|
|
--- a/arch/arm/mach-msm/acpuclock-8930.c
|
|
+++ b/arch/arm/mach-msm/acpuclock-8930.c
|
|
@@ -52,7 +52,7 @@ static struct scalable scalable_pm8917[] __initdata = {
|
|
.aux_clk_sel = 3,
|
|
.sec_clk_sel = 2,
|
|
.l2cpmr_iaddr = 0x4501,
|
|
- .vreg[VREG_CORE] = { "krait0", 1300000 },
|
|
+ .vreg[VREG_CORE] = { "krait0", 1400000 },
|
|
.vreg[VREG_MEM] = { "krait0_mem", 1150000 },
|
|
.vreg[VREG_DIG] = { "krait0_dig", 1150000 },
|
|
.vreg[VREG_HFPLL_A] = { "krait0_s8", 2050000 },
|
|
@@ -64,7 +64,7 @@ static struct scalable scalable_pm8917[] __initdata = {
|
|
.aux_clk_sel = 3,
|
|
.sec_clk_sel = 2,
|
|
.l2cpmr_iaddr = 0x5501,
|
|
- .vreg[VREG_CORE] = { "krait1", 1300000 },
|
|
+ .vreg[VREG_CORE] = { "krait1", 1400000 },
|
|
.vreg[VREG_MEM] = { "krait1_mem", 1150000 },
|
|
.vreg[VREG_DIG] = { "krait1_dig", 1150000 },
|
|
.vreg[VREG_HFPLL_A] = { "krait1_s8", 2050000 },
|
|
@@ -88,7 +88,7 @@ static struct scalable scalable[] __initdata = {
|
|
.aux_clk_sel = 3,
|
|
.sec_clk_sel = 2,
|
|
.l2cpmr_iaddr = 0x4501,
|
|
- .vreg[VREG_CORE] = { "krait0", 1300000 },
|
|
+ .vreg[VREG_CORE] = { "krait0", 1400000 },
|
|
.vreg[VREG_MEM] = { "krait0_mem", 1150000 },
|
|
.vreg[VREG_DIG] = { "krait0_dig", 1150000 },
|
|
.vreg[VREG_HFPLL_A] = { "krait0_hfpll", 1800000 },
|
|
@@ -99,7 +99,7 @@ static struct scalable scalable[] __initdata = {
|
|
.aux_clk_sel = 3,
|
|
.sec_clk_sel = 2,
|
|
.l2cpmr_iaddr = 0x5501,
|
|
- .vreg[VREG_CORE] = { "krait1", 1300000 },
|
|
+ .vreg[VREG_CORE] = { "krait1", 1400000 },
|
|
.vreg[VREG_MEM] = { "krait1_mem", 1150000 },
|
|
.vreg[VREG_DIG] = { "krait1_dig", 1150000 },
|
|
.vreg[VREG_HFPLL_A] = { "krait1_hfpll", 1800000 },
|
|
@@ -126,6 +126,7 @@ static struct msm_bus_paths bw_level_tbl[] __initdata = {
|
|
[8] = BW_MBPS(4532), /* At least 566 MHz on bus. */
|
|
[9] = BW_MBPS(4624), /* At least 578 MHz on bus. */
|
|
[10] = BW_MBPS(4800), /* At least 600 MHz on bus. */
|
|
+ [11] = BW_MBPS(5336), /* At least 667 MHz on bus. */
|
|
};
|
|
|
|
static struct msm_bus_scale_pdata bus_scale_data __initdata = {
|
|
diff --git a/arch/arm/mach-msm/acpuclock-krait.c b/arch/arm/mach-msm/acpuclock-krait.c
|
|
index f216ee5..cfbf338 100755
|
|
--- a/arch/arm/mach-msm/acpuclock-krait.c
|
|
+++ b/arch/arm/mach-msm/acpuclock-krait.c
|
|
@@ -932,7 +932,7 @@ static void __init bus_init(const struct l2_level *l2_level)
|
|
}
|
|
|
|
#ifdef CONFIG_CPU_FREQ_MSM
|
|
-static struct cpufreq_frequency_table freq_table[NR_CPUS][35];
|
|
+static struct cpufreq_frequency_table freq_table[NR_CPUS][53];
|
|
|
|
static void __init cpufreq_table_init(void)
|
|
{
|
|
diff --git a/arch/arm/mach-msm/board-8930-regulator-pm8038.c b/arch/arm/mach-msm/board-8930-regulator-pm8038.c
|
|
index 4cf0f54..b5a6602 100755
|
|
--- a/arch/arm/mach-msm/board-8930-regulator-pm8038.c
|
|
+++ b/arch/arm/mach-msm/board-8930-regulator-pm8038.c
|
|
@@ -541,9 +541,9 @@ msm8930_pm8038_gpio_regulator_pdata[] __devinitdata = {
|
|
/* SAW regulator constraints */
|
|
struct regulator_init_data msm8930_pm8038_saw_regulator_core0_pdata =
|
|
/* ID vreg_name min_uV max_uV */
|
|
- SAW_VREG_INIT(S5, "8038_s5", 850000, 1300000);
|
|
+ SAW_VREG_INIT(S5, "8038_s5", 850000, 1400000);
|
|
struct regulator_init_data msm8930_pm8038_saw_regulator_core1_pdata =
|
|
- SAW_VREG_INIT(S6, "8038_s6", 850000, 1300000);
|
|
+ SAW_VREG_INIT(S6, "8038_s6", 850000, 1400000);
|
|
|
|
/* PM8038 regulator constraints */
|
|
struct pm8xxx_regulator_platform_data
|
|
diff --git a/arch/arm/mach-msm/board-8930-regulator-pm8917.c b/arch/arm/mach-msm/board-8930-regulator-pm8917.c
|
|
index b0dedad..ce3a17f 100644
|
|
--- a/arch/arm/mach-msm/board-8930-regulator-pm8917.c
|
|
+++ b/arch/arm/mach-msm/board-8930-regulator-pm8917.c
|
|
@@ -501,9 +501,9 @@ msm8930_pm8917_gpio_regulator_pdata[] __devinitdata = {
|
|
/* SAW regulator constraints */
|
|
struct regulator_init_data msm8930_pm8917_saw_regulator_core0_pdata =
|
|
/* ID vreg_name min_uV max_uV */
|
|
- SAW_VREG_INIT(S5, "8917_s5", 850000, 1300000);
|
|
+ SAW_VREG_INIT(S5, "8917_s5", 850000, 1400000);
|
|
struct regulator_init_data msm8930_pm8917_saw_regulator_core1_pdata =
|
|
- SAW_VREG_INIT(S6, "8917_s6", 850000, 1300000);
|
|
+ SAW_VREG_INIT(S6, "8917_s6", 850000, 1400000);
|
|
|
|
/* PM8917 regulator constraints */
|
|
struct pm8xxx_regulator_platform_data
|
|
--
|
|
2.9.3
|
|
|