mb/google/fatcat: Add power limits for additional PTL-H variants

This commit adds power limit configurations for additional variants of
the Intel PTL-H platform found on Fatcat. Specifically, it adds entries
for PCI Device IDs 2, 3, and 4. These configurations define the PL1,
PL2, and PL4 power limits, as well as the associated CPU TDP and
power limits index.  The PL4 values are currently placeholders and
marked for future fine-tuning.

BUG=b:395130929
TEST=Able to boot google/fatcat with 65W USB-C PD charger.

Change-Id: I86befb07f39a5e292365ea40ea08d0f93f38a7a6
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86339
Reviewed-by: Jayvik Desai <jayvik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
This commit is contained in:
Subrata Banik 2025-02-10 09:55:09 +05:30
commit 39fc3587dd

View file

@ -18,6 +18,36 @@ const struct cpu_tdp_power_limits power_optimized_limits[] = {
.pl2_max_power = 50000,
.pl4_power = 50000 /* TODO: needs fine tuning */
},
{
.mch_id = PCI_DID_INTEL_PTL_H_ID_2,
.cpu_tdp = 25,
.power_limits_index = PTL_H_1_CORE,
.pl1_min_power = 10000,
.pl1_max_power = 25000,
.pl2_min_power = 50000,
.pl2_max_power = 50000,
.pl4_power = 50000 /* TODO: needs fine tuning */
},
{
.mch_id = PCI_DID_INTEL_PTL_H_ID_3,
.cpu_tdp = 25,
.power_limits_index = PTL_H_2_CORE,
.pl1_min_power = 10000,
.pl1_max_power = 25000,
.pl2_min_power = 50000,
.pl2_max_power = 50000,
.pl4_power = 50000 /* TODO: needs fine tuning */
},
{
.mch_id = PCI_DID_INTEL_PTL_H_ID_4,
.cpu_tdp = 25,
.power_limits_index = PTL_H_2_CORE,
.pl1_min_power = 10000,
.pl1_max_power = 25000,
.pl2_min_power = 50000,
.pl2_max_power = 50000,
.pl4_power = 50000 /* TODO: needs fine tuning */
},
};
void baseboard_devtree_update(void)