summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChromeOS Developer <dparker@chromium.org>2013-08-16 14:55:29 -0700
committerChromeBot <chrome-bot@google.com>2013-08-19 08:26:27 -0700
commitc7d7e684fa222131622235e55584cc1bf6d35012 (patch)
tree406b3800229788dfa0828f364cc0db4d62a89a69
parentbed5e3e40995db78da59291b4bd442c7dd199329 (diff)
downloadchrome-ec-c7d7e684fa222131622235e55584cc1bf6d35012.tar.gz
Peppy: set fan/thermal steps (BRANCH ONLY)
NOTE: This CL is for the branch only. It does NOT go into ToT. This sets the thermal steps and fan speeds as requested: Step Fan RPM trigger point (CPU Tj) unit K / 'C Step 1 0 under 320K / 47'C Step 2 3200 320K / 47'C Step 3 3700 330K / 57'C Step 4 4000 337K / 64'C Step 5 4400 344K / 71'C Step 6 4900 351K / 78'C Step 7 5500 358K / 85'C Step 8 6500 368K / 95'C This also sets the CPU hot points to the following: 373K / 100C => assert PROCHOT 378K / 105C => give the CPU three second to cool off, then shutdown 383K / 110C => shutdown immediately BUG=chrome-os-partner:21971 BRANCH=peppy ONLY! Not ToT! TEST=manual Change-Id: I832d4c29aecc96f7b844c41ab8ca698618e592f1 Reviewed-on: https://gerrit.chromium.org/gerrit/66141 Tested-by: Dave Parker <dparker@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Commit-Queue: Dave Parker <dparker@chromium.org>
-rw-r--r--common/thermal.c4
-rw-r--r--include/thermal.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/common/thermal.c b/common/thermal.c
index 62770ec0a9..f194cbca3b 100644
--- a/common/thermal.c
+++ b/common/thermal.c
@@ -52,14 +52,14 @@ test_export_static struct thermal_config_t
/* TEMP_SENSOR_TYPE_CPU */
{THERMAL_CONFIG_WARNING_ON_FAIL,
{373, 378, 383,
- 327, 335, 343, 351, 359} } ,
+ 320, 330, 337, 344, 351, 358, 368} },
/* TEMP_SENSOR_TYPE_BOARD */
{THERMAL_CONFIG_NO_FLAG, {THERMAL_THRESHOLD_DISABLE_ALL} },
/* TEMP_SENSOR_TYPE_CASE */
{THERMAL_CONFIG_NO_FLAG, {THERMAL_THRESHOLD_DISABLE_ALL} },
};
test_export_static const int fan_speed[THERMAL_FAN_STEPS + 1] =
- {0, 3000, 4575, 6150, 7725, -1};
+ {0, 3200, 3700, 4000, 4400, 4900, 5500, 6500};
#endif
#ifdef BOARD_host /* for testing */ /* DON'T DO THIS */
test_export_static struct thermal_config_t
diff --git a/include/thermal.h b/include/thermal.h
index 5c391a6af6..7f4fff5230 100644
--- a/include/thermal.h
+++ b/include/thermal.h
@@ -25,7 +25,7 @@
#define THERMAL_FAN_STEPS 7
#endif
#ifdef BOARD_peppy /* DON'T DO THIS */
-#define THERMAL_FAN_STEPS 5
+#define THERMAL_FAN_STEPS 7
#endif
#ifdef BOARD_host /* for testing */ /* DON'T DO THIS */
#define THERMAL_FAN_STEPS 5