blob: 970c628f5087f2ea70fa9e4f9d3c5fbe13284ba1 [file] [log] [blame]
YH Lin6ba7bee2021-11-29 09:44:01 -08001/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#include <baseboard/variants.h>
4#include <device/pci_ids.h>
5
6const struct cpu_power_limits limits[] = {
7 /* SKU_ID, TDP (Watts), pl1_min, pl1_max, pl2_min, pl2_max, pl4 */
8 /* All values are for baseline config as per bug:191906315 comment #10 */
Felix Singer43b7f412022-03-07 04:34:52 +01009 { PCI_DID_INTEL_ADL_P_ID_7, 15, 3000, 15000, 39000, 39000, 100000 },
10 { PCI_DID_INTEL_ADL_P_ID_6, 15, 3000, 15000, 39000, 39000, 100000 },
11 { PCI_DID_INTEL_ADL_P_ID_5, 28, 4000, 28000, 43000, 43000, 105000 },
12 { PCI_DID_INTEL_ADL_P_ID_3, 28, 4000, 28000, 43000, 43000, 105000 },
13 { PCI_DID_INTEL_ADL_P_ID_3, 45, 5000, 45000, 80000, 80000, 159000 },
YH Lin6ba7bee2021-11-29 09:44:01 -080014};
15
16void variant_devtree_update(void)
17{
18 size_t total_entries = ARRAY_SIZE(limits);
19 variant_update_power_limits(limits, total_entries);
20}