summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra3_dvfs.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2011-11-12 22:10:31 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:19 -0800
commit377729f700adec50b8d200601d30bd87aae83c5c (patch)
treed8ed350acaf68a5ea0e2f9156aba0516e4b2e328 /arch/arm/mach-tegra/tegra3_dvfs.c
parent3abec30416ae0a8561b75270bb0c6287e0935cf3 (diff)
ARM: tegra: dvfs: Add Tegra3 xL CPU DVFS tables
Bug 841336 Signed-off-by: Alex Frid <afrid@nvidia.com> (cherry picked from commit d98da0dcb175787a6c6a26c87b6f5ad84ab3da8b) (cherry picked from commit 865746e6c5938db1d7517eca916033ee13e2d290) Change-Id: Ie26a1ccafcf8455a9d4d93d0d4e2fc330f5162f6 Reviewed-on: http://git-master/r/66514 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Rebase-Id: R8a5f24043e5fdd79cc927ef55f3ea031f093124f
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_dvfs.c')
-rw-r--r--arch/arm/mach-tegra/tegra3_dvfs.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/tegra3_dvfs.c b/arch/arm/mach-tegra/tegra3_dvfs.c
index 7b66952727fb..de961f935b4e 100644
--- a/arch/arm/mach-tegra/tegra3_dvfs.c
+++ b/arch/arm/mach-tegra/tegra3_dvfs.c
@@ -42,8 +42,8 @@ static const int core_speedo_nominal_millivolts[] =
{ 1200, 1200, 1300 };
static const int cpu_speedo_nominal_millivolts[] =
-/* speedo_id 0, 1, 2, 3, 4, 5, 6 */
- { 1125, 1150, 1150, 1150, 1237, 1237, 1237 };
+/* speedo_id 0, 1, 2, 3, 4, 5, 6, 7, 8 */
+ { 1125, 1150, 1150, 1150, 1237, 1237, 1237, 1150, 1150 };
#define KHZ 1000
#define MHZ 1000000
@@ -171,6 +171,18 @@ static struct dvfs cpu_dvfs_table[] = {
CPU_DVFS("cpu_g", 6, 3, MHZ, 1, 1, 800, 800, 1000, 1000, 1000, 1180, 1230, 1300, 1330, 1380, 1400, 1470, 1500, 1540, 1700),
CPU_DVFS("cpu_g", 6, 4, MHZ, 1, 1, 840, 840, 1000, 1000, 1000, 1200, 1280, 1330, 1380, 1400, 1480, 1500, 1520, 1700),
+ CPU_DVFS("cpu_g", 7, 0, MHZ, 1, 1, 550, 550, 680, 680, 680, 820, 970, 1040, 1080, 1150, 1200, 1280, 1300),
+ CPU_DVFS("cpu_g", 7, 1, MHZ, 1, 1, 650, 650, 820, 820, 820, 1000, 1060, 1100, 1200, 1300),
+ CPU_DVFS("cpu_g", 7, 2, MHZ, 1, 1, 720, 720, 880, 880, 880, 1090, 1180, 1200, 1300),
+ CPU_DVFS("cpu_g", 7, 3, MHZ, 1, 1, 800, 800, 1000, 1000, 1000, 1180, 1200, 1300),
+ CPU_DVFS("cpu_g", 7, 4, MHZ, 1, 1, 840, 840, 1000, 1000, 1000, 1200, 1300),
+
+ CPU_DVFS("cpu_g", 8, 0, MHZ, 1, 1, 550, 550, 680, 680, 680, 820, 970, 1040, 1080, 1150, 1200, 1280, 1300),
+ CPU_DVFS("cpu_g", 8, 1, MHZ, 1, 1, 650, 650, 820, 820, 820, 1000, 1060, 1100, 1200, 1300),
+ CPU_DVFS("cpu_g", 8, 2, MHZ, 1, 1, 720, 720, 880, 880, 880, 1090, 1180, 1200, 1300),
+ CPU_DVFS("cpu_g", 8, 3, MHZ, 1, 1, 800, 800, 1000, 1000, 1000, 1180, 1200, 1300),
+ CPU_DVFS("cpu_g", 8, 4, MHZ, 1, 1, 840, 840, 1000, 1000, 1000, 1200, 1300),
+
/*
* "Safe entry" to be used when no match for chip speedo, process
* corner is found (just to boot at low rate); must be the last one