Joey Peng has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62954 )
Change subject: mb/google/brya/var/taeko:Add new FW_CONFIG option for THERMAL ......................................................................
mb/google/brya/var/taeko:Add new FW_CONFIG option for THERMAL
Add thermal table settings for tarlo
BUG=b:215033683 TEST=emerge-brya coreboot
Signed-off-by: Joey Peng joey.peng@lcfc.corp-partner.google.com Change-Id: I37f79cde502115bbf65bb97216eddb6ea22b1648 --- M src/mainboard/google/brya/variants/taeko/overridetree.cb 1 file changed, 54 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/62954/1
diff --git a/src/mainboard/google/brya/variants/taeko/overridetree.cb b/src/mainboard/google/brya/variants/taeko/overridetree.cb index 75672ae..4221fdf 100644 --- a/src/mainboard/google/brya/variants/taeko/overridetree.cb +++ b/src/mainboard/google/brya/variants/taeko/overridetree.cb @@ -34,6 +34,9 @@ option BOOT_EMMC_DISABLED 0 option BOOT_EMMC_ENABLED 1 end + field THERMAL 16 + option THERMAL_FAN_TABLE_0 0 + option THERMAL_FAN_TABLE_1 1 field HPS 17 option HPS_ABSENT 0 option HPS_PRESENT 1 @@ -238,7 +241,57 @@ register "options.fan.fine_grained_control" = "1" register "options.fan.step_size" = "2"
- device generic 0 alias dptf_policy on end + device generic 0 alias dptf_policy on + probe THERMAL THERMAL_FAN_TABLE_0 + end + end + chip drivers/intel/dptf + ## Active Policy + register "policies.active" = "{ + [0] = { + .target = DPTF_CPU, + .thresholds = { + TEMP_PCT(85, 90), + TEMP_PCT(80, 74), + TEMP_PCT(75, 74), + TEMP_PCT(70, 74), + TEMP_PCT(65, 74), + } + }, + [1] = { + .target = DPTF_TEMP_SENSOR_1, + .thresholds = { + TEMP_PCT(57, 70), + TEMP_PCT(54, 60), + TEMP_PCT(48, 60), + TEMP_PCT(45, 45), + TEMP_PCT(42, 39), + } + }, + [2] = { + .target = DPTF_TEMP_SENSOR_2, + .thresholds = { + TEMP_PCT(57, 70), + TEMP_PCT(54, 50), + TEMP_PCT(48, 60), + TEMP_PCT(45, 45), + TEMP_PCT(42, 39), + } + }, + [3] = { + .target = DPTF_TEMP_SENSOR_3, + .thresholds = { + TEMP_PCT(57, 70), + TEMP_PCT(54, 60), + TEMP_PCT(48, 60), + TEMP_PCT(45, 45), + TEMP_PCT(42, 39), + } + } + }" + device generic 1 alias dptf_policy on + probe THERMAL THERMAL_FAN_TABLE_1 + end end end device ref pcie4_0 on