diff options
author | Bibek Basu <bbasu@nvidia.com> | 2015-03-25 10:16:43 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2015-03-30 09:43:33 -0700 |
commit | af27024a8d92b29cfaa139ba950a9ec4d041b3b6 (patch) | |
tree | da79e99725265191bce1f6cbf29586002cc7dcef /arch | |
parent | c0466be854118764ee13b2bf8cf08b9e5c0a9dda (diff) |
arm:tegra: increase cpu edp max limit for CD575MI
For 70degC trip due to edp, increase the max limit further
to 76 as the driver applies a tolerance of 5 degC.
Also increase the shutdown limit to 105degC
Bug 1610806
Change-Id: Id6d7ed12c801e850e8147045fff03e5dbcf5d5ef
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/722316
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-norrin-power.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/edp.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-norrin-power.c b/arch/arm/mach-tegra/board-norrin-power.c index 3599dc2ce179..706990cea341 100644 --- a/arch/arm/mach-tegra/board-norrin-power.c +++ b/arch/arm/mach-tegra/board-norrin-power.c @@ -224,7 +224,7 @@ static struct soctherm_platform_data norrin_soctherm_data = { .trips = { { .cdev_type = "tegra-shutdown", - .trip_temp = 101000, + .trip_temp = 105000, .trip_type = THERMAL_TRIP_CRITICAL, .upper = THERMAL_NO_LIMIT, .lower = THERMAL_NO_LIMIT, @@ -252,7 +252,7 @@ static struct soctherm_platform_data norrin_soctherm_data = { .trips = { { .cdev_type = "tegra-shutdown", - .trip_temp = 101000, /* = GPU shut */ + .trip_temp = 105000, /* = GPU shut */ .trip_type = THERMAL_TRIP_CRITICAL, .upper = THERMAL_NO_LIMIT, .lower = THERMAL_NO_LIMIT, diff --git a/arch/arm/mach-tegra/edp.c b/arch/arm/mach-tegra/edp.c index 4ff76efca9e1..181947b85bad 100644 --- a/arch/arm/mach-tegra/edp.c +++ b/arch/arm/mach-tegra/edp.c @@ -469,7 +469,7 @@ static int init_cpu_edp_limits_calculated(void) temp_idx < ARRAY_SIZE(temperatures); temp_idx++) { cpu_edp_calculated_limits[temp_idx].temperature = temperatures[temp_idx]; - if (temperatures[temp_idx] >= 70 && + if (temperatures[temp_idx] >= 76 && tegra_cpu_speedo_id() == 8) limit = 1836000; else |