summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsu Henry <Henry.Hsu@quantatw.com>2014-12-25 22:10:32 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-05 07:08:57 +0000
commit94372c3d59dc52d72212c8fc79bb7c3ba59de094 (patch)
tree4ef7fbbe83de4b4651508433f3c01fde7a29239c
parent3e18ac03f3562fe290046fbb9cdbc0702f96f333 (diff)
downloadchrome-ec-94372c3d59dc52d72212c8fc79bb7c3ba59de094.tar.gz
Paine, Yuna: Upate thermal table v0 12
on off RPM step0 0 step1 38 33 3200 step2 45 40 3700 step3 52 47 4000 step4 56 51 4400 step5 58 53 4900 step6 70 65 5500 step7 95 90 6500 ec shutdown point: 105 Where the temperature scale is celsius degree. BUG=chrome-os-partner:34418 BRANCH=paine, yuna TEST=Use the hacked code to return the fake temperature, check all the steps with yuna. The fan behavior works properly. Change-Id: Ibd2faecd47799bb66d4fafdda76f3db27814062a Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/237641 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
-rw-r--r--board/paine/board.c14
-rw-r--r--board/yuna/board.c14
2 files changed, 14 insertions, 14 deletions
diff --git a/board/paine/board.c b/board/paine/board.c
index fac0e186fe..96f93ba710 100644
--- a/board/paine/board.c
+++ b/board/paine/board.c
@@ -45,12 +45,12 @@ struct fan_step {
/* Do not make the fan on/off point equal to 0 or 100 */
const struct fan_step fan_table[NUM_FAN_LEVELS] = {
{.rpm = 0},
- {.on = 11, .off = 1, .rpm = 3200},
- {.on = 20, .off = 11, .rpm = 3700},
- {.on = 26, .off = 18, .rpm = 4000},
- {.on = 33, .off = 25, .rpm = 4400},
- {.on = 40, .off = 31, .rpm = 4900},
- {.on = 56, .off = 48, .rpm = 5500},
+ {.on = 9, .off = 1, .rpm = 3200},
+ {.on = 20, .off = 12, .rpm = 3700},
+ {.on = 31, .off = 23, .rpm = 4000},
+ {.on = 37, .off = 29, .rpm = 4400},
+ {.on = 40, .off = 32, .rpm = 4900},
+ {.on = 59, .off = 51, .rpm = 5500},
{.on = 98, .off = 90, .rpm = 6500},
};
@@ -166,7 +166,7 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
*/
struct ec_thermal_config thermal_params[] = {
/* Only the AP affects the thermal limits and fan speed. */
- {{C_TO_K(95), C_TO_K(97), C_TO_K(99)}, C_TO_K(36), C_TO_K(96)},
+ {{C_TO_K(95), C_TO_K(97), C_TO_K(105)}, C_TO_K(32), C_TO_K(96)},
{{0, 0, 0}, 0, 0},
{{0, 0, 0}, 0, 0},
{{0, 0, 0}, 0, 0},
diff --git a/board/yuna/board.c b/board/yuna/board.c
index ff12e9b664..d39b53e964 100644
--- a/board/yuna/board.c
+++ b/board/yuna/board.c
@@ -45,12 +45,12 @@ struct fan_step {
/* Do not make the fan on/off point equal to 0 or 100 */
const struct fan_step fan_table[NUM_FAN_LEVELS] = {
{.rpm = 0},
- {.on = 11, .off = 1, .rpm = 3200},
- {.on = 20, .off = 11, .rpm = 3700},
- {.on = 26, .off = 18, .rpm = 4000},
- {.on = 33, .off = 25, .rpm = 4400},
- {.on = 40, .off = 31, .rpm = 4900},
- {.on = 56, .off = 48, .rpm = 5500},
+ {.on = 9, .off = 1, .rpm = 3200},
+ {.on = 20, .off = 12, .rpm = 3700},
+ {.on = 31, .off = 23, .rpm = 4000},
+ {.on = 37, .off = 29, .rpm = 4400},
+ {.on = 40, .off = 32, .rpm = 4900},
+ {.on = 59, .off = 51, .rpm = 5500},
{.on = 98, .off = 90, .rpm = 6500},
};
@@ -166,7 +166,7 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
*/
struct ec_thermal_config thermal_params[] = {
/* Only the AP affects the thermal limits and fan speed. */
- {{C_TO_K(95), C_TO_K(97), C_TO_K(99)}, C_TO_K(36), C_TO_K(96)},
+ {{C_TO_K(95), C_TO_K(97), C_TO_K(105)}, C_TO_K(32), C_TO_K(96)},
{{0, 0, 0}, 0, 0},
{{0, 0, 0}, 0, 0},
{{0, 0, 0}, 0, 0},