diff options
author | Hsu Henry <Henry.Hsu@quantatw.com> | 2014-12-25 22:10:32 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-06 22:55:25 +0000 |
commit | c77d1eec6dabbd374a97a07616a2309930cc4642 (patch) | |
tree | 11361140ee3a9e4f23b7ba7445699568131e411d | |
parent | 6f80422cd06e2166d3e475aea3f74bab935a9a38 (diff) | |
download | chrome-ec-c77d1eec6dabbd374a97a07616a2309930cc4642.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>
(cherry picked from commit 94372c3d59dc52d72212c8fc79bb7c3ba59de094)
Reviewed-on: https://chromium-review.googlesource.com/238649
-rw-r--r-- | board/paine/board.c | 14 | ||||
-rw-r--r-- | board/yuna/board.c | 14 |
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}, |