diff options
author | Logan_Liao <logan_Liao@compal.corp-partner.google.com> | 2022-04-29 13:21:36 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-04 01:59:11 +0000 |
commit | 09c33dd0a79f09dec7c1f28784ea1d4f4fed2f41 (patch) | |
tree | 9edb0b622d2783dd9fc5878fd12abaac26ac0771 | |
parent | 317eee5ea097dad906bd9f33c773643525c6e4df (diff) | |
download | chrome-ec-09c33dd0a79f09dec7c1f28784ea1d4f4fed2f41.tar.gz |
Felwinter : Correct temp_fan_off setting to make fan control normally.
Atfer enter OS : DPTF control.
Before OS : thermal control base on temps sensor linear control.
Thermal control work abnormally because temp_fan_off is 0 in Felwinter.
This patch modifies temp_fan_off value that make thermal control properly.
BUG=b:229665979
BRANCH=none
TEST=test Felwinter thermal control function normal.
Change-Id: Icf421d1bed50bb03e344a270e277cbc09b022f6c
Signed-off-by: Logan_Liao <logan_Liao@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3615964
Commit-Queue: Logan Liao <logan_liao@compal.corp-partner.google.com>
Tested-by: Logan Liao <logan_liao@compal.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com>
Reviewed-by: Logan Liao <logan_liao@compal.corp-partner.google.com>
-rw-r--r-- | board/felwinter/sensors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/felwinter/sensors.c b/board/felwinter/sensors.c index cfd45654b5..fd3f721947 100644 --- a/board/felwinter/sensors.c +++ b/board/felwinter/sensors.c @@ -186,7 +186,7 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); .temp_host_release = { \ [EC_TEMP_THRESH_HIGH] = C_TO_K(60), \ }, \ - .temp_fan_off = 0, \ + .temp_fan_off = C_TO_K(30), \ .temp_fan_max = C_TO_K(73), \ } __maybe_unused static const struct ec_thermal_config thermal_cpu = THERMAL_CPU; @@ -216,7 +216,7 @@ __maybe_unused static const struct ec_thermal_config thermal_cpu = THERMAL_CPU; .temp_host_release = { \ [EC_TEMP_THRESH_HIGH] = C_TO_K(50), \ }, \ - .temp_fan_off = 0, \ + .temp_fan_off = C_TO_K(30), \ .temp_fan_max = C_TO_K(63), \ } __maybe_unused static const struct ec_thermal_config thermal_fan = THERMAL_FAN; @@ -230,7 +230,7 @@ __maybe_unused static const struct ec_thermal_config thermal_fan = THERMAL_FAN; .temp_host_release = { \ [EC_TEMP_THRESH_HIGH] = C_TO_K(60), \ }, \ - .temp_fan_off = 0, \ + .temp_fan_off = C_TO_K(30), \ .temp_fan_max = C_TO_K(73), \ } __maybe_unused static const struct ec_thermal_config thermal_charger = |