diff options
author | Diwakar Tundlam <dtundlam@nvidia.com> | 2013-01-29 16:44:32 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:56:48 -0700 |
commit | 3421460882ded635fe91b6a112777d8292a8856e (patch) | |
tree | 491b689cbff9876612b40cbb61640bc0606627f8 /arch/arm/mach-tegra/board-common.c | |
parent | 8a26199989ad5fdd21f2f16f557b97a6b227e1cb (diff) |
arm: tegra: Move all tj dependent thermals from nct to soc_therm
Functions moved are vdd_cpu, core edp. Raised shutdown limit for nct.
Added two higher temps for cpu_edp to support higher soc_therm temps.
Doing this only for Dalmore, Pluto, Ceres, Pismo.
No real changes to Roth.
Bug 1200075
Change-Id: I2b4ac4ba7cd933bd47c30ab2ad9eabb3a3da5fbe
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/195331
(cherry picked from commit 2af79db3c5763d3a0b6e78663ccf1ad6c04be134)
Reviewed-on: http://git-master/r/197096
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/board-common.c')
-rw-r--r-- | arch/arm/mach-tegra/board-common.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-common.c b/arch/arm/mach-tegra/board-common.c index db7e2576b306..cb6923941a52 100644 --- a/arch/arm/mach-tegra/board-common.c +++ b/arch/arm/mach-tegra/board-common.c @@ -166,8 +166,12 @@ static void tegra_add_trip_points(struct thermal_trip_info *trips, void tegra_add_cdev_trips(struct thermal_trip_info *trips, int *num_trips) { - tegra_add_trip_points(trips, num_trips, tegra_core_edp_get_cdev()); tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_cpu_dfll_cdev()); tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_cpu_pll_cdev()); tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_core_cdev()); } + +void tegra_add_tj_trips(struct thermal_trip_info *trips, int *num_trips) +{ + tegra_add_trip_points(trips, num_trips, tegra_core_edp_get_cdev()); +} |