summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDiwakar Tundlam <dtundlam@nvidia.com>2013-02-17 00:20:25 -0800
committerGabby Lee <galee@nvidia.com>2013-07-30 23:07:20 -0700
commit4cddb9c4646fb17a3ccbd968aef8b53974f589c4 (patch)
treea40a7b824dc7b068c4b5236c63b60b89a969030b /arch
parenta03294f6e3ed43bb34a6d405a6c4501ccb98c229 (diff)
arm: tegra: soctherm: enable throttling and shutdown on GPU zone
Enabled throttling and shutdown on GPU zone for TegraTab platform. Bug 1169070 Bug 1200077 Change-Id: I072af5aae0d23af93e3f8dcffdc25b476a723f1f Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/255341 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-tegratab-power.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-tegratab-power.c b/arch/arm/mach-tegra/board-tegratab-power.c
index 01148ea85d96..8b032ea007e4 100644
--- a/arch/arm/mach-tegra/board-tegratab-power.c
+++ b/arch/arm/mach-tegra/board-tegratab-power.c
@@ -884,7 +884,33 @@ static struct soctherm_platform_data tegratab_soctherm_data = {
},
[THERM_GPU] = {
.zone_enable = true,
+ .passive_delay = 1000,
.hotspot_offset = 6000,
+ .num_trips = 3,
+ .trips = {
+ {
+ .cdev_type = "tegra-balanced",
+ .trip_temp = 90000,
+ .trip_type = THERMAL_TRIP_PASSIVE,
+ .upper = THERMAL_NO_LIMIT,
+ .lower = THERMAL_NO_LIMIT,
+ },
+ {
+ .cdev_type = "tegra-heavy",
+ .trip_temp = 100000,
+ .trip_type = THERMAL_TRIP_HOT,
+ .upper = THERMAL_NO_LIMIT,
+ .lower = THERMAL_NO_LIMIT,
+ },
+ {
+ .cdev_type = "tegra-shutdown",
+ .trip_temp = 102000,
+ .trip_type = THERMAL_TRIP_CRITICAL,
+ .upper = THERMAL_NO_LIMIT,
+ .lower = THERMAL_NO_LIMIT,
+ },
+ },
+ .tzp = &tegratab_soctherm_therm_cpu_tzp,
},
[THERM_PLL] = {
.zone_enable = true,