aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quanta.corp-partner.google.com>2021-11-05 16:38:00 +0600
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-11-15 18:27:29 +0000
commitb8b833fc6ad9eee7ac2f73af4a4e54314dd79a87 (patch)
tree72eab890370250930fba7a72542f99078e6dffdb
parentd31effffc81802c1a3909f69e1a6d86b12f73193 (diff)
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>
-rw-r--r--src/mainboard/google/brya/variants/redrix/overridetree.cb9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/redrix/overridetree.cb b/src/mainboard/google/brya/variants/redrix/overridetree.cb
index ce9ba373a3..77e44e3e31 100644
--- a/src/mainboard/google/brya/variants/redrix/overridetree.cb
+++ b/src/mainboard/google/brya/variants/redrix/overridetree.cb
@@ -86,13 +86,18 @@ chip soc/intel/alderlake
chip drivers/intel/dptf
## sensor information
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
## Passive Policy
register "policies.passive" = "{
[0] = DPTF_PASSIVE(CPU, CPU, 55, 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" = "{
.pl1 = {