summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra11_soctherm.c
diff options
context:
space:
mode:
authorDiwakar Tundlam <dtundlam@nvidia.com>2014-03-18 15:20:46 -0700
committerDiwakar Tundlam <dtundlam@nvidia.com>2014-03-19 10:21:06 -0700
commit1e570b9df4f27e3c9044861719ee24c73fe70859 (patch)
tree845b6cd6fb387de26a2499058893fcfe2908115f /arch/arm/mach-tegra/tegra11_soctherm.c
parent4b3aa123a202c409dfdef7c8f0cf3207b9416bc9 (diff)
ARM: tegra13x: move cold/vmin trips to soctherm
Move vmin trip points that boost voltage below cold-temp to soctherm thermal zones on t132 norrin and bowmore (ffd and ers) boards. To support both legacy DVFS and CL-DVFS with vmin/cold trips, we register two cdevs with the same type, bound to the same trip_point and the DVFS back-end knows which one is active to take action. Changed soctherm driver to allow binding multiple cdevs to the same trip_point so the above mechanism works. Bug 1479500 Change-Id: Ibe54a71c6518a0500fec3fc31c95d3d27797e079 Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-on: http://git-master/r/383354
Diffstat (limited to 'arch/arm/mach-tegra/tegra11_soctherm.c')
-rw-r--r--arch/arm/mach-tegra/tegra11_soctherm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/tegra11_soctherm.c b/arch/arm/mach-tegra/tegra11_soctherm.c
index 8fe3d902e57c..6517f44416fe 100644
--- a/arch/arm/mach-tegra/tegra11_soctherm.c
+++ b/arch/arm/mach-tegra/tegra11_soctherm.c
@@ -1106,9 +1106,6 @@ static struct thermal_cooling_device_ops soctherm_suspend_ops = {
* @thz: The thermal zone device to be bound
* @cdev: The cooling device to be bound
*
- * If a trip point is already bound to a cooling device, it is
- * not rebound.
- *
* If thermal sensor calibration data is missing from fuses,
* the cooling devices are not bound.
*
@@ -1141,8 +1138,6 @@ static int soctherm_bind(struct thermal_zone_device *thz,
for (i = 0; i < plat_data.therm[index].num_trips; i++) {
trip_state = &plat_data.therm[index].trips[i];
- if (trip_state->bound)
- continue;
if (trip_state->cdev_type &&
!strncmp(trip_state->cdev_type, cdev->type,
THERMAL_NAME_LENGTH)) {