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:
@@ -20,6 +20,10 @@ fw_config
|
|||||||
field AMP 6 7
|
field AMP 6 7
|
||||||
option AMP_MX98360A 0
|
option AMP_MX98360A 0
|
||||||
end
|
end
|
||||||
|
field THERMAL_SOLUTION 10 12
|
||||||
|
option THERMAL_SOLUTION_6W 0
|
||||||
|
option THERMAL_SOLUTION_15W 1
|
||||||
|
end
|
||||||
field WIFI_SAR_ID 13 15
|
field WIFI_SAR_ID 13 15
|
||||||
option ID_0 0
|
option ID_0 0
|
||||||
end
|
end
|
||||||
@@ -171,7 +175,61 @@ chip soc/intel/alderlake
|
|||||||
[3] = { 8, 500 }
|
[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
|
||||||
end
|
end
|
||||||
device ref ipu on
|
device ref ipu on
|
||||||
|
Reference in New Issue
Block a user