summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-vcm30_t124-power.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2013-12-10 22:29:34 -0800
committerDiwakar Tundlam <dtundlam@nvidia.com>2013-12-13 14:20:27 -0800
commit2267d376673dd077c51d2e30146053a0fef396d6 (patch)
treedb302a96a3f6f75f3bf09282cc9b1c90dc937c1d /arch/arm/mach-tegra/board-vcm30_t124-power.c
parentc59d6f5f0aaf47a7d5e6b67804c459b516d170ce (diff)
ARM: tegra: thermal: Re-factor trip-points APIs
Re-named, and re-arranged trip-points installation interfaces, so that interface name reflects module/parameter subject to thermal control, instead of designated thermal zone (the latter may change on different platforms creating a confusion with old names). Change-Id: Ie3714d14103b85720598cf9da44e0abf51326ac5 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/344606 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-vcm30_t124-power.c')
-rw-r--r--arch/arm/mach-tegra/board-vcm30_t124-power.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-vcm30_t124-power.c b/arch/arm/mach-tegra/board-vcm30_t124-power.c
index 1c71abce8397..b701bcd1ac82 100644
--- a/arch/arm/mach-tegra/board-vcm30_t124-power.c
+++ b/arch/arm/mach-tegra/board-vcm30_t124-power.c
@@ -371,7 +371,9 @@ int __init vcm30_t124_soctherm_init(void)
tegra_platform_edp_init(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
&vcm30_t124_soctherm_data.therm[THERM_CPU].num_trips,
8000); /* edp temperature margin */
- tegra_add_tj_trips(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
+ tegra_add_cpu_vmax_trips(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
+ &vcm30_t124_soctherm_data.therm[THERM_CPU].num_trips);
+ tegra_add_core_edp_trips(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
&vcm30_t124_soctherm_data.therm[THERM_CPU].num_trips);
/*tegra_add_vc_trips(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
&vcm30_t124_soctherm_data.therm[THERM_CPU].num_trips);