From bda2a15113c1f76ac2d2cb1ebd79b0aea6f20204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Mon, 25 Apr 2022 15:02:10 +0200 Subject: soc/intel/alderlake/fsp_params.c: Add VccIn Aux Imon IccMax for ADL-S MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on DOC #619501. Signed-off-by: Michał Żygowski Change-Id: Ia95404e717787edbdb67c9e584e749526b973427 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63839 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/soc/intel/alderlake/fsp_params.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c index f14adbdc83..36fd50de17 100644 --- a/src/soc/intel/alderlake/fsp_params.c +++ b/src/soc/intel/alderlake/fsp_params.c @@ -43,6 +43,7 @@ #define ICC_MAX_TDP_15W_28W 32000 #define ICC_MAX_ID_ADL_M_MA 12000 #define ICC_MAX_ID_ADL_N_MA 27000 +#define ICC_MAX_ADL_S 33000 /* * ME End of Post configuration @@ -319,7 +320,7 @@ static unsigned int get_aspm_control(enum ASPM_control ctl) return ctl - 1; } -/* This function returns the VccIn Aux Imon IccMax values for ADL-P SKU's */ +/* This function returns the VccIn Aux Imon IccMax values for ADL-P and ADL-S SKU's */ static uint16_t get_vccin_aux_imon_iccmax(void) { uint16_t mch_id = 0; @@ -352,6 +353,11 @@ static uint16_t get_vccin_aux_imon_iccmax(void) case PCI_DID_INTEL_ADL_N_ID_3: case PCI_DID_INTEL_ADL_N_ID_4: return ICC_MAX_ID_ADL_N_MA; + case PCI_DID_INTEL_ADL_S_ID_1: + case PCI_DID_INTEL_ADL_S_ID_3: + case PCI_DID_INTEL_ADL_S_ID_8: + case PCI_DID_INTEL_ADL_S_ID_10: + return ICC_MAX_ADL_S; default: printk(BIOS_ERR, "Unknown MCH ID: 0x%4x, skipping VccInAuxImonIccMax config\n", mch_id); -- cgit v1.2.3