diff options
author | David Huang <David.Huang@quantatw.com> | 2015-07-24 16:09:41 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-24 16:57:53 +0000 |
commit | c08e0d5cbe9c29d0b1bb20e0402988b92c579442 (patch) | |
tree | 5df37910b70cd107b281ba4af110fb123d808fa0 | |
parent | a2b642c762758effc7e20bdd85bf5380cd465621 (diff) | |
download | chrome-ec-c08e0d5cbe9c29d0b1bb20e0402988b92c579442.tar.gz |
Gandof: Modify thermal table
Modify thermal table for Gandof
on off RPM
step0 0
step1 41 37 3800
step2 47 44 4200
step3 52 50 4500
step4 57 55 5100
step5 62 60 5400
step6 68 65 6400
step7 74 71 7100
ec warning point: 76
ec high point: 80
ec shutdown point: 100
BRANCH=gandof
BUG=chrome-os-partner:41633
TEST=Use the hacked code to return the fake temperature,
check all the steps with Gandof. The fan behavior works properly.
Change-Id: I3f782e7b8cacb666bce7417711f6e7fa64b30fbb
Signed-off-by: David Huang <David.Huang@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/288256
Reviewed-by: Saurabh Madan <ssmadan@chromium.org>
Commit-Queue: Saurabh Madan <ssmadan@chromium.org>
Tested-by: Saurabh Madan <ssmadan@chromium.org>
-rw-r--r-- | board/gandof/board.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/board/gandof/board.c b/board/gandof/board.c index 5cdb59d9b6..59bb2f4234 100644 --- a/board/gandof/board.c +++ b/board/gandof/board.c @@ -47,13 +47,13 @@ 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 = 10, .off = 2, .rpm = 3800}, - {.on = 40, .off = 25, .rpm = 4200}, - {.on = 51, .off = 46, .rpm = 4500}, - {.on = 61, .off = 57, .rpm = 5100}, - {.on = 72, .off = 68, .rpm = 5400}, - {.on = 85, .off = 78, .rpm = 6400}, - {.on = 97, .off = 91, .rpm = 7100}, + {.on = 12, .off = 2, .rpm = 3800}, + {.on = 28, .off = 20, .rpm = 4200}, + {.on = 41, .off = 35, .rpm = 4500}, + {.on = 53, .off = 48, .rpm = 5100}, + {.on = 66, .off = 61, .rpm = 5400}, + {.on = 82, .off = 74, .rpm = 6400}, + {.on = 97, .off = 89, .rpm = 7100}, }; int fan_percent_to_rpm(int fan, int pct) @@ -178,7 +178,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(76), C_TO_K(80), C_TO_K(100)}, C_TO_K(28), C_TO_K(75)}, + {{C_TO_K(76), C_TO_K(80), C_TO_K(100)}, C_TO_K(37), C_TO_K(75)}, {{0, 0, 0}, 0, 0}, {{0, 0, 0}, 0, 0}, {{0, 0, 0}, 0, 0}, |