soc/amd/picasso: add dptc support
add dptc support for different power parameter on tablet/clamshell mode The BIOS may choose to adjust power and/or thermal parameters at its own discretion. The DPTC interface(DPTCi) ALIB Function adds flexibility by allowing the BIOS to request power state changes independently of specific events. BUG=b:157943445 BRANCH=none TEST=Build.Generated ASL code from SSDT by acipgen_dptci().check the setting changed. Signed-off-by: Chris Wang <chris.wang@amd.corp-partner.google.com> Change-Id: Icae94103f254f8fdb84e6ee0f5404fb09fa97b2d Reviewed-on: https://review.coreboot.org/c/coreboot/+/43408 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
committed by
Furquan Shaikh
parent
2ce386a3c2
commit
4735b1c01b
@@ -90,6 +90,14 @@ struct soc_amd_picasso_config {
|
||||
uint32_t stapm_time_constant;
|
||||
uint32_t sustained_power_limit;
|
||||
|
||||
/* Enable dptc for tablet mode (0 = disable, 1 = enable) */
|
||||
uint8_t dptc_enable;
|
||||
|
||||
/* STAPM Configuration for tablet mode (need enable dptc_enable first) */
|
||||
uint32_t fast_ppt_limit_tablet_mode;
|
||||
uint32_t slow_ppt_limit_tablet_mode;
|
||||
uint32_t sustained_power_limit_tablet_mode;
|
||||
|
||||
/* PROCHOT_L de-assertion Ramp Time */
|
||||
uint32_t prochot_l_deassertion_ramp_time;
|
||||
|
||||
|
Reference in New Issue
Block a user