mb/google/brya/var/redrix: Hook up two missing sensors

Redrix has 4 thermal sensors, so add the missing sensors settings.

BUG=b:200134784
TEST=build and verified by thermal team.

Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Change-Id: Ia9c58129d439ade21e96896c5e593cd08a627603
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58970
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
This commit is contained in:
Wisley Chen 2021-11-05 16:38:00 +06:00 committed by Tim Wawrzynczak
parent d31effffc8
commit b8b833fc6a
1 changed files with 7 additions and 2 deletions

View File

@ -86,13 +86,18 @@ chip soc/intel/alderlake
chip drivers/intel/dptf chip drivers/intel/dptf
## sensor information ## sensor information
register "options.tsr[0].desc" = ""DRAM"" register "options.tsr[0].desc" = ""DRAM""
register "options.tsr[1].desc" = ""Charger"" register "options.tsr[1].desc" = ""SOC""
register "options.tsr[2].desc" = ""Charger""
register "options.tsr[3].desc" = ""5V regulator""
# TODO: below values are initial reference values only # TODO: below values are initial reference values only
## Passive Policy ## Passive Policy
register "policies.passive" = "{ register "policies.passive" = "{
[0] = DPTF_PASSIVE(CPU, CPU, 55, 5000), [0] = DPTF_PASSIVE(CPU, CPU, 55, 5000),
[1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 45, 5000), [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 45, 5000),
[2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 51, 5000), [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 51, 5000),
[3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 51, 5000),
[4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 51, 5000),
}" }"
register "controls.power_limits" = "{ register "controls.power_limits" = "{
.pl1 = { .pl1 = {