summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Chen <terry_chen@wistron.corp-partner.google.com>2021-09-23 11:14:54 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-23 06:46:15 +0000
commitd1d82a24c4371ff10f9fb0c274169428a90fc554 (patch)
tree7e3685c34c2f54cda33ea1ae5fde3e2effaf71ca
parentb10127e7a40c99058ec2713184e8043b7fb3c7bd (diff)
downloadchrome-ec-d1d82a24c4371ff10f9fb0c274169428a90fc554.tar.gz
primus: update thermal table
Update thermal table(V1) for settings provided by thermal team on 2021-09-23. BUG=b:200836803 TEST=make -j BOARD=primus TEST=test pass by thermal team Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com> Change-Id: I1f72e26d9d6ae9b48738688e4331ebcd05949f18 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3177900 Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
-rw-r--r--board/primus/sensors.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/board/primus/sensors.c b/board/primus/sensors.c
index 57fecaf780..33ea302a2a 100644
--- a/board/primus/sensors.c
+++ b/board/primus/sensors.c
@@ -95,7 +95,7 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
static const struct ec_thermal_config thermal_cpu = {
.temp_host = {
[EC_TEMP_THRESH_HIGH] = C_TO_K(70),
- [EC_TEMP_THRESH_HALT] = C_TO_K(80),
+ [EC_TEMP_THRESH_HALT] = C_TO_K(90),
},
.temp_host_release = {
[EC_TEMP_THRESH_HIGH] = C_TO_K(65),
@@ -104,6 +104,18 @@ static const struct ec_thermal_config thermal_cpu = {
.temp_fan_max = C_TO_K(50),
};
+static const struct ec_thermal_config thermal_ssd = {
+ .temp_host = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(75),
+ [EC_TEMP_THRESH_HALT] = C_TO_K(92),
+ },
+ .temp_host_release = {
+ [EC_TEMP_THRESH_HIGH] = C_TO_K(65),
+ },
+ .temp_fan_off = C_TO_K(40),
+ .temp_fan_max = C_TO_K(55),
+};
+
/*
* TODO(b/195901486): update for Alder Lake/primus
*
@@ -120,7 +132,7 @@ static const struct ec_thermal_config thermal_cpu = {
static const struct ec_thermal_config thermal_inductor = {
.temp_host = {
[EC_TEMP_THRESH_HIGH] = C_TO_K(75),
- [EC_TEMP_THRESH_HALT] = C_TO_K(80),
+ [EC_TEMP_THRESH_HALT] = C_TO_K(90),
},
.temp_host_release = {
[EC_TEMP_THRESH_HIGH] = C_TO_K(65),
@@ -134,7 +146,7 @@ static const struct ec_thermal_config thermal_inductor = {
*/
struct ec_thermal_config thermal_params[] = {
[TEMP_SENSOR_1_DDR_SOC] = thermal_cpu,
- [TEMP_SENSOR_2_SSD] = thermal_inductor,
+ [TEMP_SENSOR_2_SSD] = thermal_ssd,
[TEMP_SENSOR_3_CHARGER] = thermal_inductor,
[TEMP_SENSOR_4_MEMORY] = thermal_inductor,
[TEMP_SENSOR_5_USBC] = thermal_inductor,