soc/intel/adl: Update power limits for ADL-M SKU
Update SKU specific power limits for ADL-M as per document 643775. BUG=None BRANCH=None Change-Id: I40b9b3a508c549d940e1c2c9e8b4079695b694e6 Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56976 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
3888292fd0
commit
d37a419a7d
|
@ -24,6 +24,7 @@ enum soc_intel_alderlake_power_limits {
|
||||||
ADL_P_POWER_LIMITS_482_CORE,
|
ADL_P_POWER_LIMITS_482_CORE,
|
||||||
ADL_P_POWER_LIMITS_682_CORE,
|
ADL_P_POWER_LIMITS_682_CORE,
|
||||||
ADL_M_POWER_LIMITS_282_CORE,
|
ADL_M_POWER_LIMITS_282_CORE,
|
||||||
|
ADL_M_POWER_LIMITS_242_CORE,
|
||||||
ADL_POWER_LIMITS_COUNT
|
ADL_POWER_LIMITS_COUNT
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,11 +21,17 @@ chip soc/intel/alderlake
|
||||||
}"
|
}"
|
||||||
|
|
||||||
register "power_limits_config[ADL_M_POWER_LIMITS_282_CORE]" = "{
|
register "power_limits_config[ADL_M_POWER_LIMITS_282_CORE]" = "{
|
||||||
|
.tdp_pl1_override = 15,
|
||||||
|
.tdp_pl2_override = 45,
|
||||||
|
}"
|
||||||
|
|
||||||
|
register "power_limits_config[ADL_M_POWER_LIMITS_242_CORE]" = "{
|
||||||
.tdp_pl1_override = 9,
|
.tdp_pl1_override = 9,
|
||||||
.tdp_pl2_override = 30,
|
.tdp_pl2_override = 30,
|
||||||
.tdp_pl4 = 68,
|
.tdp_pl4 = 68,
|
||||||
}"
|
}"
|
||||||
|
|
||||||
|
|
||||||
device domain 0 on
|
device domain 0 on
|
||||||
device gpio 0 alias pch_gpio on end
|
device gpio 0 alias pch_gpio on end
|
||||||
device pci 00.0 alias system_agent on end
|
device pci 00.0 alias system_agent on end
|
||||||
|
|
|
@ -87,6 +87,9 @@ void soc_systemagent_init(struct device *dev)
|
||||||
case PCI_DEVICE_ID_INTEL_ADL_M_ID_1:
|
case PCI_DEVICE_ID_INTEL_ADL_M_ID_1:
|
||||||
soc_config = &config->power_limits_config[ADL_M_POWER_LIMITS_282_CORE];
|
soc_config = &config->power_limits_config[ADL_M_POWER_LIMITS_282_CORE];
|
||||||
break;
|
break;
|
||||||
|
case PCI_DEVICE_ID_INTEL_ADL_M_ID_2:
|
||||||
|
soc_config = &config->power_limits_config[ADL_M_POWER_LIMITS_242_CORE];
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printk(BIOS_ERR, "ADL: unknown SA ID: 0x%4x, skipping power limits configuration\n",
|
printk(BIOS_ERR, "ADL: unknown SA ID: 0x%4x, skipping power limits configuration\n",
|
||||||
sa_pci_id);
|
sa_pci_id);
|
||||||
|
|
Loading…
Reference in New Issue