summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/dvfs.h
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2013-09-11 21:49:19 -0700
committerAjay Nandakumar <anandakumarm@nvidia.com>2013-10-03 19:17:30 +0530
commitbdfd364ed2d0755a0fb9817a52bd73bd17935913 (patch)
treed2d1d3ccee856598def7cf0f7fb76d9f709618d8 /arch/arm/mach-tegra/dvfs.h
parent92a4e2ddcbb3e801e3a74af97cd26807f86580eb (diff)
ARM: tegra: dvfs: Add thermal dvfs cooling device ops
Added thermal dvfs cooling device operations to support voltage and frequency scaling with temperature. Renamed tegra_dvfs_rail_cooling_ops to tegra_dvfs_vmin_cooling_ops to differentiate with newly added tegra_dvfs_vts_cooling_ops. Bug 1273253 Change-Id: I7f8f9082d683883920e80d1e68331f4c0f1a53c6 Signed-off-by: Alex Frid <afrid@nvidia.com> (cherry picked from commit 13790063b65041f1cf171ad058b8f9b4df8ca1b6) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.h')
-rw-r--r--arch/arm/mach-tegra/dvfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/dvfs.h b/arch/arm/mach-tegra/dvfs.h
index 0ae0a2883d1c..b41f64e4224b 100644
--- a/arch/arm/mach-tegra/dvfs.h
+++ b/arch/arm/mach-tegra/dvfs.h
@@ -102,8 +102,10 @@ struct dvfs_rail {
bool dfll_mode;
bool dfll_mode_updating;
int therm_floor_idx;
+ int therm_scale_idx;
struct tegra_cooling_device *vmin_cdev;
struct tegra_cooling_device *vmax_cdev;
+ struct tegra_cooling_device *vts_cdev;
struct rail_alignment alignment;
struct rail_stats stats;
};
@@ -149,6 +151,7 @@ struct dvfs {
int max_millivolts;
int num_freqs;
struct dvfs_dfll_data dfll_data;
+ bool therm_dvfs;
int cur_millivolts;
unsigned long cur_rate;