Frank Wu | b404fa4 | 2022-06-16 14:04:41 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | |||||
3 | #include <baseboard/variants.h> | ||||
4 | #include <device/pci_ids.h> | ||||
5 | |||||
6 | const struct cpu_power_limits limits[] = { | ||||
7 | /* SKU_ID, TDP (Watts), pl1_min, pl1_max, pl2_min, pl2_max, pl4 */ | ||||
8 | { PCI_DID_INTEL_ADL_P_ID_5, 28, 5000, 30000, 60000, 60000, 90000 }, | ||||
9 | }; | ||||
10 | |||||
11 | void variant_devtree_update(void) | ||||
12 | { | ||||
13 | size_t total_entries = ARRAY_SIZE(limits); | ||||
14 | variant_update_power_limits(limits, total_entries); | ||||
15 | } |