Raul Rangel has submitted this change. ( https://review.coreboot.org/c/coreboot/+/67182 )
Change subject: amdblocks/alib.h: Add DPTC parameter IDs ......................................................................
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 --- M src/soc/amd/common/block/include/amdblocks/alib.h 1 file changed, 32 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved Raul Rangel: Looks good to me, approved Martin Roth: Looks good to me, approved
diff --git a/src/soc/amd/common/block/include/amdblocks/alib.h b/src/soc/amd/common/block/include/amdblocks/alib.h index 61608d5..8899c78 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 @@ 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 {