From c08e0d5cbe9c29d0b1bb20e0402988b92c579442 Mon Sep 17 00:00:00 2001 From: David Huang Date: Fri, 24 Jul 2015 16:09:41 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/288256 Reviewed-by: Saurabh Madan Commit-Queue: Saurabh Madan Tested-by: Saurabh Madan --- board/gandof/board.c | 16 ++++++++-------- 1 file 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}, -- cgit v1.2.1