mb/google/nissa/var/craask: Add DPTF settings for 15W CPU

Add ADL-N 15W CPU thermal settings.

BUG=b:265101768
TEST=emerge-nissa coreboot

Change-Id: I325704d6fc4ddaf56eaddd6a69bc619588df99cd
Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71860
Reviewed-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
Reviewed-by: Vidya Gopalakrishnan <vidya.gopalakrishnan@intel.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Reka Norman <rekanorman@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Ren Kuo 2023-01-12 14:01:39 +08:00 committed by Eric Lai
parent c8e0f1631f
commit 547cef0201
1 changed files with 59 additions and 1 deletions

View File

@ -20,6 +20,10 @@ fw_config
field AMP 6 7
option AMP_MX98360A 0
end
field THERMAL_SOLUTION 10 12
option THERMAL_SOLUTION_6W 0
option THERMAL_SOLUTION_15W 1
end
field WIFI_SAR_ID 13 15
option ID_0 0
end
@ -171,7 +175,61 @@ chip soc/intel/alderlake
[3] = { 8, 500 }
}"
device generic 0 on end
device generic 0 on
probe THERMAL_SOLUTION THERMAL_SOLUTION_6W
end
end
chip drivers/intel/dptf
## sensor information
register "options.tsr[0].desc" = ""Memory""
register "options.tsr[1].desc" = ""Charger""
register "options.tsr[2].desc" = ""Ambient""
# 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, 75, 5000),
[2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 75, 5000),
[3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 75, 5000),
}"
## Critical Policy
register "policies.critical" = "{
[0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
[1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
[2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
[3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
}"
register "controls.power_limits" = "{
.pl1 = {
.min_power = 15000,
.max_power = 15000,
.time_window_min = 28 * MSECS_PER_SEC,
.time_window_max = 28 * MSECS_PER_SEC,
.granularity = 125
},
.pl2 = {
.min_power = 35000,
.max_power = 35000,
.time_window_min = 1,
.time_window_max = 1,
.granularity = 1000
}
}"
## Charger Performance Control (Control, mA)
register "controls.charger_perf" = "{
[0] = { 255, 1700 },
[1] = { 24, 1500 },
[2] = { 16, 1000 },
[3] = { 8, 500 }
}"
device generic 1 on
probe THERMAL_SOLUTION THERMAL_SOLUTION_15W
end
end
end
device ref ipu on