From 69bd94ca2294691c9cf7c423385c1139a670c44a Mon Sep 17 00:00:00 2001 From: Zanxi Chen Date: Tue, 24 Aug 2021 19:19:11 +0800 Subject: [PATCH] mb/google/dedede/var/sasukette: Update DPTF parameters Update DPTF parameters from internal thermal team. BUG=b:180875580 BRANCH=dedede TEST=emerge-dedede coreboot Change-Id: I06d8a543dbd77137cb97c4ea695a1f2b9f8ee76c Signed-off-by: Zanxi Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/57116 Reviewed-by: Sumeet R Pawnikar Tested-by: build bot (Jenkins) --- .../google/dedede/variants/sasukette/overridetree.cb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/dedede/variants/sasukette/overridetree.cb b/src/mainboard/google/dedede/variants/sasukette/overridetree.cb index c7636a8861..9959263600 100644 --- a/src/mainboard/google/dedede/variants/sasukette/overridetree.cb +++ b/src/mainboard/google/dedede/variants/sasukette/overridetree.cb @@ -99,7 +99,7 @@ chip soc/intel/jasperlake register "policies.passive" = "{ [0] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 52, 5000), [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 52, 5000), - [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 50, 5000),}" + [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 50, 5000),}" ## Critical Policy register "policies.critical" = "{ [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN), @@ -118,6 +118,14 @@ chip soc/intel/jasperlake .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, 3000 }, + [1] = { 32, 2000 }, + [2] = { 24, 1500 }, + [3] = { 16, 1000 }, + [4] = { 8, 500 } + }" device generic 0 on end end end # SA Thermal device