summaryrefslogtreecommitdiff
path: root/src/soc/intel/meteorlake
diff options
context:
space:
mode:
authorCurtis Chen <curtis.chen@intel.com>2023-10-31 16:18:35 +0800
committerSubrata Banik <subratabanik@google.com>2023-11-01 04:15:27 +0000
commit08db7cd0d05ae54d1f0ea4f894f5220c8de42985 (patch)
treeda9ad705780caa23bf4edfc030cbc06cf8da3791 /src/soc/intel/meteorlake
parentd599e89d4d6d5dd051cb3fa532e1890a2482fc09 (diff)
soc/intel/meteorlake: Add power limits for 4+8 28W SOC SKU
This commit adds power limit settings for 4+8 28W SOC sku and renames MTL_P_682_CORE to MTL_P_682_482_CORE since they are sharing same 28W settings. BUG=b:306677879 TEST=boot on rex with 4+8 SOC and power limit settings are correct Change-Id: Icb5fc2b13e8510f89c03927439431190439a3a94 Signed-off-by: Curtis Chen <curtis.chen@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78796 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/meteorlake')
-rw-r--r--src/soc/intel/meteorlake/chip.h5
-rw-r--r--src/soc/intel/meteorlake/chipset.cb2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/soc/intel/meteorlake/chip.h b/src/soc/intel/meteorlake/chip.h
index 57471b74a4..e860ba97e1 100644
--- a/src/soc/intel/meteorlake/chip.h
+++ b/src/soc/intel/meteorlake/chip.h
@@ -43,7 +43,7 @@ struct ibecc_config {
/* Types of different SKUs */
enum soc_intel_meteorlake_power_limits {
MTL_P_282_242_CORE,
- MTL_P_682_CORE,
+ MTL_P_682_482_CORE,
MTL_POWER_LIMITS_COUNT
};
@@ -61,7 +61,8 @@ static const struct {
} cpuid_to_mtl[] = {
{ PCI_DID_INTEL_MTL_P_ID_5, MTL_P_282_242_CORE, TDP_15W },
{ PCI_DID_INTEL_MTL_P_ID_2, MTL_P_282_242_CORE, TDP_15W },
- { PCI_DID_INTEL_MTL_P_ID_1, MTL_P_682_CORE, TDP_28W },
+ { PCI_DID_INTEL_MTL_P_ID_3, MTL_P_682_482_CORE, TDP_28W },
+ { PCI_DID_INTEL_MTL_P_ID_1, MTL_P_682_482_CORE, TDP_28W },
};
/* Types of display ports */
diff --git a/src/soc/intel/meteorlake/chipset.cb b/src/soc/intel/meteorlake/chipset.cb
index 4a49f22b1d..69d0df357d 100644
--- a/src/soc/intel/meteorlake/chipset.cb
+++ b/src/soc/intel/meteorlake/chipset.cb
@@ -8,7 +8,7 @@ chip soc/intel/meteorlake
.tdp_pl4 = 114,
}"
- register "power_limits_config[MTL_P_682_CORE]" = "{
+ register "power_limits_config[MTL_P_682_482_CORE]" = "{
.tdp_pl1_override = 28,
.tdp_pl2_override = 64,
.tdp_pl4 = 120,