arm: tegra: roth: update fan/thermal trip points
Jean Huang [Mon, 8 Apr 2013 23:36:57 +0000 (16:36 -0700)]
Bug 1259204

Change-Id: I96302b8ce8ba29fe78dfd4c95ed8a2d1a8d7f8a2
Signed-off-by: Jean Huang <jeanh@nvidia.com>
Reviewed-on: http://git-master/r/217550
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
(cherry picked from commit e8f642db849b6685b0614e3478f9c44878d39595)
Reviewed-on: http://git-master/r/246421
Reviewed-by: Jun Yan <juyan@nvidia.com>
Tested-by: Jun Yan <juyan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

arch/arm/mach-tegra/board-roth-fan.c
arch/arm/mach-tegra/board-roth-sensors.c

index 5af4a7b..82093b4 100644 (file)
@@ -52,7 +52,7 @@ static struct pwm_fan_platform_data fan_data_delta_6k = {
        .active_steps = MAX_ACTIVE_STATES,
        .active_rpm = {
                0, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 10000, 11000},
-       .active_pwm = {0, 107*1024, 150*1024 , 230*1024, 235*1024, 240*1024,
+       .active_pwm = {0, 80*1024, 110*1024 , 150*1024, 235*1024, 240*1024,
                                245*1024, 250*1024, 252*1024, 255*1024},
        .active_rru = {1024*40, 1024*2, 1024, 256,
                                                256, 256, 256, 256, 256, 256},
index d2a2862..3b6e778 100644 (file)
@@ -153,7 +153,7 @@ static struct nct1008_platform_data roth_nct1008_pdata = {
                /* Thermal Throttling */
                [0] = {
                        .cdev_type = "tegra-balanced",
-                       .trip_temp = 86000,
+                       .trip_temp = 80000,
                        .trip_type = THERMAL_TRIP_PASSIVE,
                        .upper = THERMAL_NO_LIMIT,
                        .lower = THERMAL_NO_LIMIT,
@@ -161,7 +161,7 @@ static struct nct1008_platform_data roth_nct1008_pdata = {
                },
                [1] = {
                        .cdev_type = "tegra-hard",
-                       .trip_temp = 89000, /* shutdown_ext_limit - 2C */
+                       .trip_temp = 86000, /* shutdown_ext_limit - 2C */
                        .trip_type = THERMAL_TRIP_PASSIVE,
                        .upper = 1,
                        .lower = 1,
@@ -510,9 +510,9 @@ static struct therm_fan_est_data fan_est_data_p2560 = {
                        },
        },
        .cdev_type = "pwm-fan",
-       .active_trip_temps = {0, 72000, 83000, 120000, 130000,
+       .active_trip_temps = {0, 47000, 55000, 67000, 103000,
                                140000, 150000, 160000, 170000, 180000},
-       .active_hysteresis = {0, 10000, 6000, 0, 0, 0, 0, 0, 0, 0},
+       .active_hysteresis = {0, 12000, 7000, 10000, 0, 0, 0, 0, 0, 0},
 };
 
 static struct platform_device roth_fan_therm_est_device_p2560 = {