summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrankChu <frank_chu@pegatron.corp-partner.google.com>2021-05-24 10:56:12 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-05-28 18:22:31 +0000
commit91350a18f78448b219909e7d43f9a8270eff4278 (patch)
treebc1f5bc957ff08d62a36f7945807c39c93462fab /src
parentdfaab1b3b6ec4ae0fb65456cb66919ac135f0ba1 (diff)
mb/google/volteer/var/collis: Update DPTF parameters
Update the first version DPTF parameters received from the thermal team. BUG=b:188936764 TEST=emerge-volteer coreboot chromeos-bootimage Cq-Depend: chrome-internal:3851737 Signed-off-by: FrankChu <frank_chu@pegatron.corp-partner.google.com> Change-Id: Id14b1d0bdd48c65eafbdd2e80b4611c86781be00 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54858 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/volteer/variants/collis/overridetree.cb42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/collis/overridetree.cb b/src/mainboard/google/volteer/variants/collis/overridetree.cb
index fda59e563d..00ec738dcd 100644
--- a/src/mainboard/google/volteer/variants/collis/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/collis/overridetree.cb
@@ -50,6 +50,48 @@ chip soc/intel/tigerlake
}"
device domain 0 on
+ device ref dptf on
+ chip drivers/intel/dptf
+ ## Disable Active Policy
+ register "policies.active" = "{[0] = {.target=DPTF_NONE}}"
+
+ ## Passive Policy
+ register "policies.passive" = "{
+ [0] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 52, 10000),
+ [1] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_0, 53, 30000)}"
+
+ ## Power Limits Control
+ # 7-9W PL1 in 200mW increments, avg over 28-32s interval
+ # PL2 is fixed at 40W, avg over 28-32s interval
+ register "controls.power_limits" = "{
+ .pl1 = {.min_power = 7000,
+ .max_power = 9000,
+ .time_window_min = 28 * MSECS_PER_SEC,
+ .time_window_max = 32 * MSECS_PER_SEC,
+ .granularity = 200,},
+ .pl2 = {.min_power = 40000,
+ .max_power = 40000,
+ .time_window_min = 28 * MSECS_PER_SEC,
+ .time_window_max = 32 * MSECS_PER_SEC,
+ .granularity = 1000,}}"
+
+ ## Charger Performance Control (Control, mA)
+ register "controls.charger_perf" = "{
+ [0] = { 255, 2500 },
+ [1] = { 24, 1900 },
+ [2] = { 16, 1500 },
+ [3] = { 8, 1000 }}"
+
+ ## Fan Performance Control (Percent, Speed, Noise, Power)
+ register "controls.fan_perf" = "{[0] = {0}}"
+
+ ## Fan options
+ register "options.fan.fine_grained_control" = "0"
+ register "options.fan.step_size" = "0"
+
+ device generic 0 on end
+ end
+ end
device ref i2c0 on
chip drivers/i2c/generic
register "hid" = ""10EC5682""