summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSumeet Pawnikar <sumeet.r.pawnikar@intel.com>2021-09-30 10:04:41 +0530
committerFelix Held <felix-coreboot@felixheld.de>2021-10-01 18:44:33 +0000
commit21c431b81d032983d4de5393a4201c1a477d99ee (patch)
tree2a0277f94b54396de5577b3dc53a3308a4a7261c /src
parente415df9b7fbf6f6c6c1866c123ec7db43879af8d (diff)
soc/intel/alderlake: add power limits for Alder Lake-M 282 SKU
There are two different types of 282 SKU available with TDP of 15W and 12W for Alder Lake-M SoC. This patch adds support for these TDP values for 282 SKU as per document 643782. BUG=None BRANCH=None TEST=Build FW and test on adlrvp board Change-Id: I553b2362b7bf811e6bf02fd9d68f78c2caeb7398 Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57465 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Selma Bensaid <selma.bensaid@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/alderlake/chip.h7
-rw-r--r--src/soc/intel/alderlake/chipset.cb7
2 files changed, 11 insertions, 3 deletions
diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h
index 6308094de8..3192478f77 100644
--- a/src/soc/intel/alderlake/chip.h
+++ b/src/soc/intel/alderlake/chip.h
@@ -25,7 +25,8 @@ enum soc_intel_alderlake_power_limits {
ADL_P_482_CORE,
ADL_P_682_28W_CORE,
ADL_P_682_45W_CORE,
- ADL_M_282_CORE,
+ ADL_M_282_12W_CORE,
+ ADL_M_282_15W_CORE,
ADL_M_242_CORE,
ADL_P_242_CORE,
ADL_POWER_LIMITS_COUNT
@@ -34,6 +35,7 @@ enum soc_intel_alderlake_power_limits {
/* TDP values for different SKUs */
enum soc_intel_alderlake_cpu_tdps {
TDP_9W = 9,
+ TDP_12W = 12,
TDP_15W = 15,
TDP_28W = 28,
TDP_45W = 45
@@ -50,7 +52,8 @@ static const struct {
{ PCI_DEVICE_ID_INTEL_ADL_P_ID_5, ADL_P_482_CORE, TDP_28W },
{ PCI_DEVICE_ID_INTEL_ADL_P_ID_3, ADL_P_682_28W_CORE, TDP_28W },
{ PCI_DEVICE_ID_INTEL_ADL_P_ID_3, ADL_P_682_45W_CORE, TDP_45W },
- { PCI_DEVICE_ID_INTEL_ADL_M_ID_1, ADL_M_282_CORE, TDP_15W },
+ { PCI_DEVICE_ID_INTEL_ADL_M_ID_1, ADL_M_282_12W_CORE, TDP_12W },
+ { PCI_DEVICE_ID_INTEL_ADL_M_ID_1, ADL_M_282_15W_CORE, TDP_15W },
{ PCI_DEVICE_ID_INTEL_ADL_M_ID_2, ADL_M_242_CORE, TDP_9W },
};
diff --git a/src/soc/intel/alderlake/chipset.cb b/src/soc/intel/alderlake/chipset.cb
index d70d9390a2..9a752dda18 100644
--- a/src/soc/intel/alderlake/chipset.cb
+++ b/src/soc/intel/alderlake/chipset.cb
@@ -26,7 +26,12 @@ chip soc/intel/alderlake
.tdp_pl4 = 215,
}"
- register "power_limits_config[ADL_M_282_CORE]" = "{
+ register "power_limits_config[ADL_M_282_12W_CORE]" = "{
+ .tdp_pl1_override = 12,
+ .tdp_pl2_override = 35,
+ }"
+
+ register "power_limits_config[ADL_M_282_15W_CORE]" = "{
.tdp_pl1_override = 15,
.tdp_pl2_override = 45,
}"