From 1fb5395d9d2d96c2e570c545744c662c26413593 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 23 Apr 2021 15:00:53 -0600 Subject: [PATCH] mb/google/guybrush: Add STAPM values to overridetree This enables STAPM power management. Values follow the AMD specification. BUG=b:185209734 TEST=Build & Boot guybrush Signed-off-by: Martin Roth Change-Id: Ib9f2ec9a8ac118c55ae53b9419ea4ff74ce7b599 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52650 Tested-by: build bot (Jenkins) Reviewed-by: chris wang Reviewed-by: Raul Rangel --- .../google/guybrush/variants/guybrush/overridetree.cb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/google/guybrush/variants/guybrush/overridetree.cb b/src/mainboard/google/guybrush/variants/guybrush/overridetree.cb index 0beeea0e3b..3519170555 100644 --- a/src/mainboard/google/guybrush/variants/guybrush/overridetree.cb +++ b/src/mainboard/google/guybrush/variants/guybrush/overridetree.cb @@ -35,6 +35,13 @@ chip soc/amd/cezanne device domain 0 on end # domain + register "slow_ppt_limit_mW" = "25000" + register "fast_ppt_limit_mW" = "30000" + register "slow_ppt_time_constant_s" = "5" + register "stapm_time_constant_s" = "275" + register "sustained_power_limit_mW" = "15000" + register "thermctl_limit_degreeC" = "100" + # I2C Config #+-------------------+---------------------------+ #| Field | Value |