blob: 9a4fc2825d99970722d373e46c1b6a58df82bd16 [file] [log] [blame]
Sumeet Pawnikarc6f241a2021-07-27 09:35:46 +05301/* 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[] = {
Sumeet Pawnikare7f3e6a2021-08-11 21:09:45 +05307 /* SKU_ID, pl1_min, pl1_max, pl2_min, pl2_max, pl4 */
8 /* All values are for baseline config as per bug:191906315 comment #10 */
9 { PCI_DEVICE_ID_INTEL_ADL_P_ID_7, 3000, 15000, 39000, 39000, 100000},
10 { PCI_DEVICE_ID_INTEL_ADL_P_ID_5, 4000, 28000, 43000, 43000, 105000},
11 { PCI_DEVICE_ID_INTEL_ADL_P_ID_3, 5000, 45000, 80000, 80000, 159000},
Sumeet Pawnikarc6f241a2021-07-27 09:35:46 +053012};
13
14void variant_devtree_update(void)
15{
16 size_t total_entries = ARRAY_SIZE(limits);
17 variant_update_power_limits(limits, total_entries);
18}