diff options
author | Alex Frid <afrid@nvidia.com> | 2013-12-10 22:29:34 -0800 |
---|---|---|
committer | Diwakar Tundlam <dtundlam@nvidia.com> | 2013-12-13 14:20:27 -0800 |
commit | 2267d376673dd077c51d2e30146053a0fef396d6 (patch) | |
tree | db302a96a3f6f75f3bf09282cc9b1c90dc937c1d /arch/arm/mach-tegra/board-loki-power.c | |
parent | c59d6f5f0aaf47a7d5e6b67804c459b516d170ce (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-loki-power.c')
-rw-r--r-- | arch/arm/mach-tegra/board-loki-power.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-loki-power.c b/arch/arm/mach-tegra/board-loki-power.c index bf3f0f0461d8..578ba467ae43 100644 --- a/arch/arm/mach-tegra/board-loki-power.c +++ b/arch/arm/mach-tegra/board-loki-power.c @@ -1007,7 +1007,10 @@ int __init loki_soctherm_init(void) loki_soctherm_data.therm[THERM_GPU].trips, &loki_soctherm_data.therm[THERM_GPU].num_trips, 8000); - tegra_add_tj_trips( + tegra_add_cpu_vmax_trips( + loki_soctherm_data.therm[THERM_CPU].trips, + &loki_soctherm_data.therm[THERM_CPU].num_trips); + tegra_add_core_edp_trips( loki_soctherm_data.therm[THERM_CPU].trips, &loki_soctherm_data.therm[THERM_CPU].num_trips); tegra_add_tgpu_trips( @@ -1016,7 +1019,7 @@ int __init loki_soctherm_init(void) tegra_add_vc_trips( loki_soctherm_data.therm[THERM_CPU].trips, &loki_soctherm_data.therm[THERM_CPU].num_trips); - tegra_add_tpll_trips( + tegra_add_core_vmax_trips( loki_soctherm_data.therm[THERM_PLL].trips, &loki_soctherm_data.therm[THERM_PLL].num_trips); tegra_add_cpu_vmin_trips( |