amdblocks/alib.h: Add DPTC parameter IDs

Add additional DPTC parameter IDs that are necessary when throttling the
SOC due to low/no battery.

These additional parameters are used in later CLs.

BRANCH=none
BUG=b:217911928
TEST=Build zork
TEST=Build nipperkin
TEST=Build skyrim

Signed-off-by: Tim Van Patten <timvp@google.com>
Change-Id: I9e944d7c620414ec92d08a3d1173ba281d593ffc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67182
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Tim Van Patten 2022-08-29 12:32:49 -06:00 committed by Raul Rangel
parent 16528cd26f
commit 8076647864
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ enum alib_dptc_parameter_ids {
ALIB_DPTC_SUSTAINED_POWER_LIMIT_ID = 0x5, ALIB_DPTC_SUSTAINED_POWER_LIMIT_ID = 0x5,
ALIB_DPTC_FAST_PPT_LIMIT_ID = 0x6, ALIB_DPTC_FAST_PPT_LIMIT_ID = 0x6,
ALIB_DPTC_SLOW_PPT_LIMIT_ID = 0x7, ALIB_DPTC_SLOW_PPT_LIMIT_ID = 0x7,
ALIB_DPTC_SLOW_PPT_TIME_CONSTANT_ID = 0x8,
ALIB_DPTC_PROCHOT_L_DEASSERTION_RAMP_TIME_ID = 0x9,
ALIB_DPTC_VRM_CURRENT_LIMIT_ID = 0xb,
ALIB_DPTC_VRM_MAXIMUM_CURRENT_LIMIT = 0xc,
/* Picasso: SetVrmSocCurrentLimit (0xe) is not implemented in alib. */
ALIB_DPTC_VRM_SOC_CURRENT_LIMIT_ID = 0xe,
}; };
struct alib_dptc_param { struct alib_dptc_param {