diff options
author | Devin Lu <devin.lu@quantatw.com> | 2019-12-10 10:52:26 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-11 03:46:47 +0000 |
commit | 9a6cc49c7b56d518aa04777f1c8cff507ca3f651 (patch) | |
tree | a9efc5d27fb9d8aed7c4c46ff9ae92ef2fea0811 | |
parent | 29fdf0d429bbe5272a6e560852feb8a71c7dc957 (diff) | |
download | chrome-ec-9a6cc49c7b56d518aa04777f1c8cff507ca3f651.tar.gz |
dratini: configure fan speed at initial
Set correct fan maxima/minimum and initial speed for EVT.
To provent fan loudly after ec reset. Set lower initial speed to 10
percent.
BUG=none
BRANCH=hatch
TEST=make buildall
Change-Id: I468b82942ec2e5841ed35ced9baea296b35f620b
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1958390
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
-rw-r--r-- | board/dratini/board.c | 6 | ||||
-rw-r--r-- | board/dratini/board.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/dratini/board.c b/board/dratini/board.c index d8c673e2e8..c906182b95 100644 --- a/board/dratini/board.c +++ b/board/dratini/board.c @@ -279,9 +279,9 @@ const struct fan_conf fan_conf_0 = { /* Default */ const struct fan_rpm fan_rpm_0 = { - .rpm_min = 3100, - .rpm_start = 3100, - .rpm_max = 6900, + .rpm_min = 2500, + .rpm_start = 2500, + .rpm_max = 6500, }; const struct fan_t fans[FAN_CH_COUNT] = { diff --git a/board/dratini/board.h b/board/dratini/board.h index a16165f6d9..31b188aa56 100644 --- a/board/dratini/board.h +++ b/board/dratini/board.h @@ -86,7 +86,7 @@ /* Fan features */ #define CONFIG_FANS 1 #undef CONFIG_FAN_INIT_SPEED -#define CONFIG_FAN_INIT_SPEED 50 +#define CONFIG_FAN_INIT_SPEED 10 #define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_EN_A_RAILS #define CONFIG_THERMISTOR #define CONFIG_THROTTLE_AP |