summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/dvfs.h
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2013-10-04 23:13:58 -0700
committerYu-Huan Hsu <yhsu@nvidia.com>2013-10-21 15:41:32 -0700
commitcf664738b874376f99609f0c42e9f3fad07a4e15 (patch)
tree64c8b4177da2a95c526f4c26256daabde438fba3 /arch/arm/mach-tegra/dvfs.h
parent21dffe552f55df578c5a792ea13bc1bf1523471c (diff)
ARM: tegra12: dvfs: Support variable GPU Vmin
Replaced constant GPU minimum voltage limit with variable Vmin adjusted based on particular chip speedo value and temperature range. CVB polynomial equation used for Vmin calculation is the same as for each GPU DVFS frequency, just coefficients are different. Still apply absolute Vmin at cold (below 15C) to GPU rail for the entire Tegra12 family. Bug 1273253 Change-Id: I61925886131647f42ba1a6db233044dc1f3351ed Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/289548 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.h')
-rw-r--r--arch/arm/mach-tegra/dvfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/dvfs.h b/arch/arm/mach-tegra/dvfs.h
index 7d5a08ff1bbf..0370e6761353 100644
--- a/arch/arm/mach-tegra/dvfs.h
+++ b/arch/arm/mach-tegra/dvfs.h
@@ -183,11 +183,11 @@ struct cvb_dvfs {
struct dvfs_dfll_data dfll_tune_data;
int max_mv;
- int min_mv;
int freqs_mult;
int speedo_scale;
int voltage_scale;
int thermal_scale;
+ struct cvb_dvfs_table cvb_vmin;
struct cvb_dvfs_table cvb_table[MAX_DVFS_FREQS];
int vmin_trips_table[MAX_THERMAL_LIMITS];
int therm_floors_table[MAX_THERMAL_LIMITS];