diff options
author | Sue Chen <sue.chen@quanta.corp-partner.google.com> | 2019-02-23 13:56:50 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2019-02-27 06:49:32 +0000 |
commit | c2c3578742506dd0715b7fe5eb2b16a3a1647be3 (patch) | |
tree | fd0591ba6143b0c0efea9ebed73ba5748ddce1c9 | |
parent | ce76585577948d45926f8c820be3d23b4ee46d14 (diff) | |
download | chrome-ec-c2c3578742506dd0715b7fe5eb2b16a3a1647be3.tar.gz |
karma: correct the fan_table
The CL:1379417 added the wrong fan table,which filled the temperature
(Celsius) in the "on" and "off" columns. However, it should be
the percent.
The correct fan_table:
on off RPM
step0 1 0
step1 36 1 2180
step2 62 58 2680
step3 68 63 3300
step4 75 69 3760
step5 81 76 4220
step6 88 83 4660
step7 98 91 4900
BUG=b:118387189
BRANCH=kalista
TEST=check fan target speed in each step are right, make -j buildall
pass
Change-Id: Ic420029d4d3d29bf426747ecc7592dce077f975f
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/1485032
Reviewed-by: David Huang <David.Huang@quantatw.com>
Reviewed-by: Vincent Wang <vwang@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | baseboard/kalista/baseboard.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/baseboard/kalista/baseboard.c b/baseboard/kalista/baseboard.c index 53e75508a9..bc722afa19 100644 --- a/baseboard/kalista/baseboard.c +++ b/baseboard/kalista/baseboard.c @@ -435,14 +435,14 @@ struct fan_step { /* Note: Do not make the fan on/off point equal to 0 or 100 */ static const struct fan_step fan_table0[] = { - {.on = 0, .off = 5, .rpm = 0}, - {.on = 30, .off = 5, .rpm = 2180}, - {.on = 49, .off = 46, .rpm = 2680}, - {.on = 53, .off = 50, .rpm = 3300}, - {.on = 58, .off = 54, .rpm = 3760}, - {.on = 63, .off = 59, .rpm = 4220}, - {.on = 68, .off = 64, .rpm = 4660}, - {.on = 75, .off = 70, .rpm = 4900}, + {.on = 0, .off = 1, .rpm = 0}, + {.on = 36, .off = 1, .rpm = 2180}, + {.on = 62, .off = 58, .rpm = 2680}, + {.on = 68, .off = 63, .rpm = 3300}, + {.on = 75, .off = 69, .rpm = 3760}, + {.on = 81, .off = 76, .rpm = 4220}, + {.on = 88, .off = 83, .rpm = 4660}, + {.on = 98, .off = 91, .rpm = 4900}, }; /* All fan tables must have the same number of levels */ #define NUM_FAN_LEVELS ARRAY_SIZE(fan_table0) |