summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2019-12-10 10:52:26 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-23 15:07:27 +0000
commit33940bb04b0d9996bff501f06046ef4bfd0ad9c4 (patch)
tree297631b8b124bc8d450e2dae8ba967420ecf9a50
parentc539f40ac63731b7ad4aae442169691ca5fbe96c (diff)
downloadchrome-ec-33940bb04b0d9996bff501f06046ef4bfd0ad9c4.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> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1979572 Tested-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Commit-Queue: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--board/dratini/board.c6
-rw-r--r--board/dratini/board.h2
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 6a4c716cfa..89db610c63 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