diff options
author | Tim Van Patten <timvp@google.com> | 2022-08-29 12:32:49 -0600 |
---|---|---|
committer | Raul Rangel <rrangel@chromium.org> | 2022-09-02 17:48:22 +0000 |
commit | 807664786460a0d94ced0caa37e6373351a147a6 (patch) | |
tree | 31a329744d23e5268471ef07192b2df6e737c2a4 /src/soc/amd/common | |
parent | 16528cd26f555732eef947b5219c3e7c85766d45 (diff) |
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>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/alib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/alib.h b/src/soc/amd/common/block/include/amdblocks/alib.h index 61608d5679..8899c78eaa 100644 --- a/src/soc/amd/common/block/include/amdblocks/alib.h +++ b/src/soc/amd/common/block/include/amdblocks/alib.h @@ -14,6 +14,12 @@ enum alib_dptc_parameter_ids { ALIB_DPTC_SUSTAINED_POWER_LIMIT_ID = 0x5, ALIB_DPTC_FAST_PPT_LIMIT_ID = 0x6, 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 { |