From 54a6b1f281e95300fc37be515da04f00925c30d6 Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Mon, 14 Nov 2022 10:28:27 -0800 Subject: mb/google/brya: Enable Fast VMode for brya0, skolas and skolas4es Fast VMode nmakes the SoC throttle when the current exceeds the I_TRIP threshold. FSP silicon discards the request if the Voltage Regulator or SoC does not support the feature. BUG:b:259057787 TEST:Verify that the feature is enabled by reading from pcode No PnP regression observed BRANCH=firmware-brya-14505.B Signed-off-by: Jeremy Compostella Change-Id: I7e318534f1429af8ec06048430966344ddd346a1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69579 Reviewed-by: Nick Vaccaro Reviewed-by: Cliff Huang Reviewed-by: Jeremy Compostella Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/brya0/overridetree.cb | 4 ++++ src/mainboard/google/brya/variants/skolas/overridetree.cb | 4 ++++ src/mainboard/google/brya/variants/skolas4es/overridetree.cb | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/mainboard/google/brya/variants/brya0/overridetree.cb b/src/mainboard/google/brya/variants/brya0/overridetree.cb index 8decc062e10f..1291f2025d2c 100644 --- a/src/mainboard/google/brya/variants/brya0/overridetree.cb +++ b/src/mainboard/google/brya/variants/brya0/overridetree.cb @@ -44,6 +44,10 @@ fw_config end chip soc/intel/alderlake + register "domain_vr_config[VR_DOMAIN_IA]" = "{ + .enable_fast_vmode = 1, + }" + register "sagv" = "SaGv_Enabled" register "platform_pmax" = "145" diff --git a/src/mainboard/google/brya/variants/skolas/overridetree.cb b/src/mainboard/google/brya/variants/skolas/overridetree.cb index fe60e90dfca1..0cecd146ffd3 100644 --- a/src/mainboard/google/brya/variants/skolas/overridetree.cb +++ b/src/mainboard/google/brya/variants/skolas/overridetree.cb @@ -44,6 +44,10 @@ fw_config end chip soc/intel/alderlake + register "domain_vr_config[VR_DOMAIN_IA]" = "{ + .enable_fast_vmode = 1, + }" + register "sagv" = "SaGv_Enabled" register "platform_pmax" = "145" diff --git a/src/mainboard/google/brya/variants/skolas4es/overridetree.cb b/src/mainboard/google/brya/variants/skolas4es/overridetree.cb index 1a91779bf122..155be3d80113 100644 --- a/src/mainboard/google/brya/variants/skolas4es/overridetree.cb +++ b/src/mainboard/google/brya/variants/skolas4es/overridetree.cb @@ -40,6 +40,10 @@ fw_config end chip soc/intel/alderlake + register "domain_vr_config[VR_DOMAIN_IA]" = "{ + .enable_fast_vmode = 1, + }" + register "sagv" = "SaGv_Enabled" register "platform_pmax" = "145" -- cgit v1.2.3