summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-02-26 00:19:18 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-27 04:04:46 +0000
commit924d0cad36a6a6a1d87df5926a0af8c77ddb244b (patch)
tree496c2c7fff360269a829bf6e6e349e8c8b113f53
parent6ab80fd4094be30ef9e454f3f531826c4b1b7d2b (diff)
downloadchrome-ec-924d0cad36a6a6a1d87df5926a0af8c77ddb244b.tar.gz
brya: tune fan parameters
This tunes the fan parameters for the brya prototype fan. These are temporary parameters until a real fan is available. BRANCH=none BUG=b:173575131,b:180681346 TEST=observed fan speeds using EC CLI Change-Id: I74c1044c56a0ab7374f0fe52a757c33ede2aaa08 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2722553 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--board/brya/fans.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/board/brya/fans.c b/board/brya/fans.c
index f8506c2b1e..9a7b7f8199 100644
--- a/board/brya/fans.c
+++ b/board/brya/fans.c
@@ -28,18 +28,15 @@ static const struct fan_conf fan_conf_0 = {
};
/*
- * TOOD(caveh): this is from volteer, need to update for brya
+ * TOOD(b/180681346): need to update for real fan
*
- * Fan specs from datasheet:
- * Max speed 5900 rpm (+/- 7%), minimum duty cycle 30%.
- * Minimum speed not specified by RPM. Set minimum RPM to max speed (with
- * margin) x 30%.
- * 5900 x 1.07 x 0.30 = 1894, round up to 1900
+ * Prototype fan spins at about 7200 RPM at 100% PWM.
+ * Set minimum at around 30% PWM.
*/
static const struct fan_rpm fan_rpm_0 = {
- .rpm_min = 1900,
- .rpm_start = 1900,
- .rpm_max = 5900,
+ .rpm_min = 2200,
+ .rpm_start = 2200,
+ .rpm_max = 7200,
};
const struct fan_t fans[FAN_CH_COUNT] = {