mb/google/brya/var/primus: Update thermal table for primus

- Because primus have five sensors,we need to define 5 sensors.

BUG=b:200836803
TEST=USE="project_primus emerge-brya coreboot" and verify it builds
without error.

Signed-off-by: Ariel_Fang <ariel_fang@wistron.corp-partner.google.com>
Change-Id: I02fb8eee644f9999d9c5d48e3a056499d968f85d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60101
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Ariel_Fang 2021-12-14 17:00:56 +08:00 committed by Felix Held
parent fba3668f5a
commit 8140691742
2 changed files with 18 additions and 10 deletions

View File

@ -90,19 +90,22 @@ chip soc/intel/alderlake
device ref dtt on
chip drivers/intel/dptf
## sensor information
register "options.tsr[0].desc" = ""SSD""
register "options.tsr[1].desc" = ""CHARGER""
register "options.tsr[2].desc" = ""MEMORY""
register "options.tsr[3].desc" = ""TYPEC""
register "options.tsr[0].desc" = ""CPU""
register "options.tsr[1].desc" = ""SSD""
register "options.tsr[2].desc" = ""CHARGER""
register "options.tsr[3].desc" = ""MEMORY""
register "options.tsr[4].desc" = ""TYPEC""
# TODO: below values are initial reference values only
## Passive Policy
register "policies.passive" = "{
[0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
[1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 90, 5000),
[2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 90, 5000),
[2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 92, 5000),
[3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 90, 5000),
[4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 90, 5000),
[5] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_4, 90, 5000),
}"
## Critical Policy
@ -112,6 +115,7 @@ chip soc/intel/alderlake
[2] = DPTF_CRITICAL(TEMP_SENSOR_1, 89, SHUTDOWN),
[3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
[4] = DPTF_CRITICAL(TEMP_SENSOR_3, 85, SHUTDOWN),
[5] = DPTF_CRITICAL(TEMP_SENSOR_4, 85, SHUTDOWN),
}"
register "controls.power_limits" = "{

View File

@ -84,19 +84,22 @@ chip soc/intel/alderlake
device ref dtt on
chip drivers/intel/dptf
## sensor information
register "options.tsr[0].desc" = ""SSD""
register "options.tsr[1].desc" = ""CHARGER""
register "options.tsr[2].desc" = ""MEMORY""
register "options.tsr[3].desc" = ""TYPEC""
register "options.tsr[0].desc" = ""CPU""
register "options.tsr[1].desc" = ""SSD""
register "options.tsr[2].desc" = ""CHARGER""
register "options.tsr[3].desc" = ""MEMORY""
register "options.tsr[4].desc" = ""TYPEC""
# TODO: below values are initial reference values only
## Passive Policy
register "policies.passive" = "{
[0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
[1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 90, 5000),
[2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 90, 5000),
[2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 92, 5000),
[3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 90, 5000),
[4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 90, 5000),
[5] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_4, 90, 5000),
}"
## Critical Policy
@ -106,6 +109,7 @@ chip soc/intel/alderlake
[2] = DPTF_CRITICAL(TEMP_SENSOR_1, 89, SHUTDOWN),
[3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
[4] = DPTF_CRITICAL(TEMP_SENSOR_3, 85, SHUTDOWN),
[5] = DPTF_CRITICAL(TEMP_SENSOR_4, 85, SHUTDOWN),
}"
register "controls.power_limits" = "{