summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu-An Chen <yu-an.chen@quanta.corp-partner.google.com>2022-07-12 14:58:06 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-19 05:07:53 +0000
commitcb73a82a286ee3ecf241e2845570025b356072dc (patch)
tree4d8738a39ef793084840b568e6beb7795216a2cd
parent2911d8fd06d986916a0b7a2329c473c54ae5297d (diff)
downloadchrome-ec-cb73a82a286ee3ecf241e2845570025b356072dc.tar.gz
volmar: Update thermal policy
Modify thermal and fan configuration BUG=b:221094660 BRANCH=none TEST=Thermal team verified thermal policy is expected. Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Change-Id: I9b8901d5932e843bb52bc9b0e32a97060aa3a36b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3755244 Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
-rw-r--r--board/volmar/fans.c6
-rw-r--r--board/volmar/sensors.c26
2 files changed, 16 insertions, 16 deletions
diff --git a/board/volmar/fans.c b/board/volmar/fans.c
index 7cc1737775..46d64727e2 100644
--- a/board/volmar/fans.c
+++ b/board/volmar/fans.c
@@ -38,9 +38,9 @@ static const struct fan_conf fan_conf_0 = {
* boards as well.
*/
static const struct fan_rpm fan_rpm_0 = {
- .rpm_min = 0,
- .rpm_start = 5000,
- .rpm_max = 6500,
+ .rpm_min = 3000,
+ .rpm_start = 3000,
+ .rpm_max = 6000,
};
const struct fan_t fans[FAN_CH_COUNT] = {
diff --git a/board/volmar/sensors.c b/board/volmar/sensors.c
index 8b5dbb987c..b6c2a39a45 100644
--- a/board/volmar/sensors.c
+++ b/board/volmar/sensors.c
@@ -77,10 +77,10 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
[EC_TEMP_THRESH_HALT] = C_TO_K(85), \
}, \
.temp_host_release = { \
- [EC_TEMP_THRESH_HIGH] = C_TO_K(65), \
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(70), \
}, \
- .temp_fan_off = C_TO_K(25), \
- .temp_fan_max = C_TO_K(50), \
+ .temp_fan_off = C_TO_K(30), \
+ .temp_fan_max = C_TO_K(84), \
}
__maybe_unused static const struct ec_thermal_config thermal_cpu = THERMAL_CPU;
@@ -103,14 +103,14 @@ __maybe_unused static const struct ec_thermal_config thermal_cpu = THERMAL_CPU;
#define THERMAL_FAN \
{ \
.temp_host = { \
- [EC_TEMP_THRESH_HIGH] = C_TO_K(75), \
- [EC_TEMP_THRESH_HALT] = C_TO_K(85), \
+ [EC_TEMP_THRESH_HIGH] = 0, \
+ [EC_TEMP_THRESH_HALT] = 0, \
}, \
.temp_host_release = { \
- [EC_TEMP_THRESH_HIGH] = C_TO_K(65), \
+ [EC_TEMP_THRESH_HIGH] = 0, \
}, \
- .temp_fan_off = C_TO_K(25), \
- .temp_fan_max = C_TO_K(50), \
+ .temp_fan_off = 0, \
+ .temp_fan_max = 0, \
}
__maybe_unused static const struct ec_thermal_config thermal_fan = THERMAL_FAN;
@@ -131,14 +131,14 @@ __maybe_unused static const struct ec_thermal_config thermal_fan = THERMAL_FAN;
#define THERMAL_CHARGER \
{ \
.temp_host = { \
- [EC_TEMP_THRESH_HIGH] = C_TO_K(75), \
- [EC_TEMP_THRESH_HALT] = C_TO_K(85), \
+ [EC_TEMP_THRESH_HIGH] = 0, \
+ [EC_TEMP_THRESH_HALT] = 0, \
}, \
.temp_host_release = { \
- [EC_TEMP_THRESH_HIGH] = C_TO_K(65), \
+ [EC_TEMP_THRESH_HIGH] = 0, \
}, \
- .temp_fan_off = C_TO_K(25), \
- .temp_fan_max = C_TO_K(50), \
+ .temp_fan_off = 0, \
+ .temp_fan_max = 0, \
}
__maybe_unused static const struct ec_thermal_config thermal_charger =
THERMAL_CHARGER;