summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-common.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2013-04-23 16:03:16 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:10:38 -0700
commitfb44bf7bb8adbabb3ca38e7cd120a52c493cf6f0 (patch)
treee7ab6804cec25166f2e272ebfa8036a3a5f9ee13 /arch/arm/mach-tegra/board-common.c
parent5fcd7e7f4dc02eb8726b4c19e501fb5a2f131791 (diff)
ARM: tegra: dvfs: Add entries for rail Vmax thermal control
- Expanded dvfs rail structure with Vmax thermal profile entries: Vmax cooling device, and list of thermal trip-points and thermal caps. Added check for entries consistency. - Added API to register Vmax cooling device trip-points in Tj thermal zone. Bug 1270003 Change-Id: I2066f4f6fcc0867ee05af01db6c70dc7feedd8fb Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/223150 (cherry picked from commit 01d2067e90214d6b14255f8b36319b05db902412) Reviewed-on: http://git-master/r/224309 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-common.c')
-rw-r--r--arch/arm/mach-tegra/board-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-common.c b/arch/arm/mach-tegra/board-common.c
index 113fe532969e..575d2866b573 100644
--- a/arch/arm/mach-tegra/board-common.c
+++ b/arch/arm/mach-tegra/board-common.c
@@ -173,6 +173,7 @@ void tegra_add_cdev_trips(struct thermal_trip_info *trips, int *num_trips)
void tegra_add_tj_trips(struct thermal_trip_info *trips, int *num_trips)
{
+ tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_cpu_vmax_cdev());
tegra_add_trip_points(trips, num_trips, tegra_core_edp_get_cdev());
}