]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm:tegra: increase cpu edp max limit for CD575MI
authorBibek Basu <bbasu@nvidia.com>
Wed, 25 Mar 2015 04:46:43 +0000 (10:16 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Mon, 30 Mar 2015 16:43:33 +0000 (09:43 -0700)
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>
arch/arm/mach-tegra/board-norrin-power.c
arch/arm/mach-tegra/edp.c

index 3599dc2ce179d5276bd1120fe5b8953756a53ecf..706990cea34162b84540159c334401eaeacab982 100644 (file)
@@ -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,
index 4ff76efca9e1816255fc9166f46a2a17ed5fbfbc..181947b85bad349fb3b94b6b69f1be006fa055bd 100644 (file)
@@ -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