soc/intel/alderlake: Update the VccIn Aux Imon IccMax

This patch updates the VccIn Aux Imon IccMax for ADL-N to SOC SKU
specific value of 27A.

Kit: 646929 - ADL N Platform Design Guide

BUG=b:223102016
TEST=Verified that VccIn Aux Imon IccMax value is set to 27mA.

Signed-off-by: V Sowmya <v.sowmya@intel.com>
Change-Id: If09cd1112fac9b30ff04c45aa5a6062c2513c715
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63372
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
V Sowmya 2022-04-05 17:03:04 +05:30 committed by Felix Held
parent 7de81d5017
commit 2af96025fc
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#define ICC_MAX_TDP_45W 34250 #define ICC_MAX_TDP_45W 34250
#define ICC_MAX_TDP_15W_28W 32000 #define ICC_MAX_TDP_15W_28W 32000
#define ICC_MAX_ID_ADL_M_MA 12000 #define ICC_MAX_ID_ADL_M_MA 12000
#define ICC_MAX_ID_ADL_N_MA 27000
/* /*
* ME End of Post configuration * ME End of Post configuration
@ -346,6 +347,11 @@ static uint16_t get_vccin_aux_imon_iccmax(void)
case PCI_DID_INTEL_ADL_M_ID_1: case PCI_DID_INTEL_ADL_M_ID_1:
case PCI_DID_INTEL_ADL_M_ID_2: case PCI_DID_INTEL_ADL_M_ID_2:
return ICC_MAX_ID_ADL_M_MA; return ICC_MAX_ID_ADL_M_MA;
case PCI_DID_INTEL_ADL_N_ID_1:
case PCI_DID_INTEL_ADL_N_ID_2:
case PCI_DID_INTEL_ADL_N_ID_3:
case PCI_DID_INTEL_ADL_N_ID_4:
return ICC_MAX_ID_ADL_N_MA;
default: default:
printk(BIOS_ERR, "Unknown MCH ID: 0x%4x, skipping VccInAuxImonIccMax config\n", printk(BIOS_ERR, "Unknown MCH ID: 0x%4x, skipping VccInAuxImonIccMax config\n",
mch_id); mch_id);