diff options
author | Sooraj Govindan <sooraj.govindan@intel.com> | 2020-12-01 20:52:05 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-03 04:38:27 +0000 |
commit | 43422dfde262954c0a85c03aac1c709227b68da8 (patch) | |
tree | 0fd6f42b96d91e14e367f73a1a577140dde219e6 /board/boldar | |
parent | 8408d21c5cbb85360a76bcfdbbf8d8f89b1a076f (diff) | |
download | chrome-ec-43422dfde262954c0a85c03aac1c709227b68da8.tar.gz |
boldar: configure fan speed
BUG=b:162202257
BRANCH=none
TEST=make BOARD=boldar
Signed-off-by: Sooraj Govindan <sooraj.govindan@intel.com>
Change-Id: I675b460c3425d122a9245c753ca64a38258112f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2567200
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/boldar')
-rw-r--r-- | board/boldar/board.c | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/board/boldar/board.c b/board/boldar/board.c index b18674d51f..fbb1c9b662 100644 --- a/board/boldar/board.c +++ b/board/boldar/board.c @@ -133,17 +133,11 @@ const struct fan_conf fan_conf_0 = { .enable_gpio = GPIO_EN_PP5000_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 - */ +/* Default */ const struct fan_rpm fan_rpm_0 = { - .rpm_min = 1900, - .rpm_start = 1900, - .rpm_max = 5900, + .rpm_min = 3000, + .rpm_start = 3000, + .rpm_max = 10000, }; const struct fan_t fans[FAN_CH_COUNT] = { @@ -156,11 +150,6 @@ const struct fan_t fans[FAN_CH_COUNT] = { /******************************************************************************/ /* EC thermal management configuration */ -/* - * Tiger Lake specifies 100 C as maximum TDP temperature. THRMTRIP# occurs at - * 130 C. However, sensor is located next to DDR, so we need to use the lower - * DDR temperature limit (85 C) - */ const static struct ec_thermal_config thermal_cpu = { .temp_host = { [EC_TEMP_THRESH_HIGH] = C_TO_K(70), @@ -169,7 +158,7 @@ const static struct ec_thermal_config thermal_cpu = { .temp_host_release = { [EC_TEMP_THRESH_HIGH] = C_TO_K(65), }, - .temp_fan_off = C_TO_K(35), + .temp_fan_off = C_TO_K(15), .temp_fan_max = C_TO_K(50), }; @@ -177,12 +166,6 @@ const static struct ec_thermal_config thermal_cpu = { * Inductor limits - used for both charger and PP3300 regulator * * Need to use the lower of the charger IC, PP3300 regulator, and the inductors - * - * Charger max recommended temperature 100C, max absolute temperature 125C - * PP3300 regulator: operating range -40 C to 145 C - * - * Inductors: limit of 125c - * PCB: limit is 80c */ const static struct ec_thermal_config thermal_inductor = { .temp_host = { @@ -192,7 +175,7 @@ const static struct ec_thermal_config thermal_inductor = { .temp_host_release = { [EC_TEMP_THRESH_HIGH] = C_TO_K(65), }, - .temp_fan_off = C_TO_K(40), + .temp_fan_off = C_TO_K(15), .temp_fan_max = C_TO_K(55), }; |