summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorRen Kuo <ren.kuo@quanta.corp-partner.google.com>2024-08-29 09:49:55 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-09-02 09:01:33 +0000
commitc4762af6e05573ed18fbab6c5811a537e6b1f565 (patch)
treed18ee15a0ca95ca4052beb5a50ca19324c346b1a /src/mainboard
parentcfcb3620acd4187f143fc3b129dd21b2aa34f1d8 (diff)
mb/google/brox/jubilant: Update dptf settings
Update dptf settings from thermal design: 1) Remove fan control and active policy, since fan is controlled by EC. 2) Modify TSRs to 0:DRAM, 1:SOC, 2:Charger 3) Update Pl2 min&max values BUG=None TEST= Build jubilant firmware Generate and check ACPI SSDT.dsl $ cat /sys/firmware/acpi/tables/SSDT > SSDT $ iasl -d SSDT Change-Id: I2d59eedea9fb25565709e118abc1a14b4c2a64e7 Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84123 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Kenneth Chan <kenneth.chan@quanta.corp-partner.google.com> Reviewed-by: Bob Moragues <moragues@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brox/variants/jubilant/overridetree.cb90
1 files changed, 17 insertions, 73 deletions
diff --git a/src/mainboard/google/brox/variants/jubilant/overridetree.cb b/src/mainboard/google/brox/variants/jubilant/overridetree.cb
index 6d7c3f834f..bd7fca0299 100644
--- a/src/mainboard/google/brox/variants/jubilant/overridetree.cb
+++ b/src/mainboard/google/brox/variants/jubilant/overridetree.cb
@@ -45,51 +45,12 @@ chip soc/intel/alderlake
register "options.tsr[1].desc" = ""Soc""
register "options.tsr[2].desc" = ""Charger""
- ## Active Policy
- register "policies.active" = "{
- [0] = {
- .target = DPTF_CPU,
- .thresholds = {
- TEMP_PCT(95, 90),
- TEMP_PCT(92, 80),
- TEMP_PCT(89, 60),
- TEMP_PCT(85, 40),
- TEMP_PCT(80, 30),
- }
- },
- [1] = {
- .target = DPTF_TEMP_SENSOR_0,
- .thresholds = {
- TEMP_PCT(54, 95),
- TEMP_PCT(52, 90),
- TEMP_PCT(50, 80),
- TEMP_PCT(48, 50),
- TEMP_PCT(46, 30),
- TEMP_PCT(44, 25),
- TEMP_PCT(42, 20),
- TEMP_PCT(40, 15),
- }
- },
- [2] = {
- .target = DPTF_TEMP_SENSOR_1,
- .thresholds = {
- TEMP_PCT(54, 95),
- TEMP_PCT(52, 90),
- TEMP_PCT(50, 80),
- TEMP_PCT(48, 50),
- TEMP_PCT(46, 30),
- TEMP_PCT(44, 25),
- TEMP_PCT(42, 20),
- TEMP_PCT(40, 15),
- }
- }
- }"
-
## Passive Policy
register "policies.passive" = "{
- [0] = DPTF_PASSIVE(CPU, CPU, 97, 5000),
- [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 85, 5000),
- [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 85, 5000),
+ [0] = DPTF_PASSIVE(CPU, CPU, 97, 5000),
+ [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 85, 5000),
+ [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 85, 5000),
+ [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 85, 5000),
}"
## Critical Policy
@@ -97,23 +58,24 @@ chip soc/intel/alderlake
[0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
[1] = DPTF_CRITICAL(TEMP_SENSOR_0, 95, SHUTDOWN),
[2] = DPTF_CRITICAL(TEMP_SENSOR_1, 95, SHUTDOWN),
+ [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 95, SHUTDOWN),
}"
register "controls.power_limits" = "{
.pl1 = {
- .min_power = 15000,
- .max_power = 18000,
- .time_window_min = 28 * MSECS_PER_SEC,
- .time_window_max = 32 * MSECS_PER_SEC,
- .granularity = 200,
- },
+ .min_power = 15000,
+ .max_power = 18000,
+ .time_window_min = 28 * MSECS_PER_SEC,
+ .time_window_max = 32 * MSECS_PER_SEC,
+ .granularity = 200,
+ },
.pl2 = {
- .min_power = 55000,
- .max_power = 55000,
- .time_window_min = 28 * MSECS_PER_SEC,
- .time_window_max = 32 * MSECS_PER_SEC,
- .granularity = 1000,
- }
+ .min_power = 41000,
+ .max_power = 41000,
+ .time_window_min = 28 * MSECS_PER_SEC,
+ .time_window_max = 32 * MSECS_PER_SEC,
+ .granularity = 1000,
+ }
}"
## Charger Performance Control (Control, mA)
@@ -124,24 +86,6 @@ chip soc/intel/alderlake
[3] = { 8, 500 }
}"
- ## Fan Performance Control (Percent, Speed, Noise, Power)
- register "controls.fan_perf" = "{
- [0] = { 90, 6700, 220, 2200, },
- [1] = { 80, 5800, 180, 1800, },
- [2] = { 70, 5000, 145, 1450, },
- [3] = { 60, 4900, 115, 1150, },
- [4] = { 50, 3838, 90, 900, },
- [5] = { 40, 2904, 55, 550, },
- [6] = { 30, 2337, 30, 300, },
- [7] = { 20, 1608, 15, 150, },
- [8] = { 10, 800, 10, 100, },
- [9] = { 0, 0, 0, 50, }
- }"
-
- ## Fan options
- register "options.fan.fine_grained_control" = "1"
- register "options.fan.step_size" = "2"
-
device generic 0 alias dptf_policy on end
end
end # DTT