summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-laguna-power.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2013-11-07 22:30:02 -0800
committerDiwakar Tundlam <dtundlam@nvidia.com>2013-11-27 16:15:30 -0800
commit640af0f1f977eb74e37f5be3a612402d1294ba83 (patch)
tree45e45d6f7e3c6f91ca88be66920157325b421bb1 /arch/arm/mach-tegra/board-laguna-power.c
parent556f51b1c616c494fdcfaea986b77c7768d5597d (diff)
ARM: tegra12: dvfs: Add core rail Vmax trip-points
Added core rail Vmax trip-points to PLL thermal zone on Tegra12 platforms. Made sure pid governor is installed in PLL zone (for consistency with all other SOC-THERM zones, and to avoid incorrect cooling device state reporting by default step-wise governor). Bug 1413311 Change-Id: Ib06fd98ab39dc9a4411b571778600569d801b242 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/335923 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-laguna-power.c')
-rw-r--r--arch/arm/mach-tegra/board-laguna-power.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-laguna-power.c b/arch/arm/mach-tegra/board-laguna-power.c
index 71c98f4e7202..c9a7607fafca 100644
--- a/arch/arm/mach-tegra/board-laguna-power.c
+++ b/arch/arm/mach-tegra/board-laguna-power.c
@@ -932,6 +932,7 @@ static struct soctherm_platform_data laguna_soctherm_data = {
},
[THERM_PLL] = {
.zone_enable = true,
+ .tzp = &soctherm_tzp,
},
},
.throttle = {
@@ -966,6 +967,8 @@ int __init laguna_soctherm_init(void)
&laguna_soctherm_data.therm[THERM_GPU].num_trips);
tegra_add_vc_trips(laguna_soctherm_data.therm[THERM_CPU].trips,
&laguna_soctherm_data.therm[THERM_CPU].num_trips);
+ tegra_add_tpll_trips(laguna_soctherm_data.therm[THERM_PLL].trips,
+ &laguna_soctherm_data.therm[THERM_PLL].num_trips);
return tegra11_soctherm_init(&laguna_soctherm_data);
}