soc/amd/mendocino: Add FSP parameter for eDP power sequence adjustment

Add UPD parameter for eDP power sequence adjust.

The pwr_on_vary_bl_to_blon is set one unit per 4ms.

BUG=b:271704149
TEST=Build; Verify the UPD was pass to system integrated table;
measure the power on sequence on whiterun

Signed-off-by: Chris.Wang <chris.wang@amd.corp-partner.google.com>
Change-Id: I25c9f962e70f599c780259f0943a03f8aa7cbfd1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73752
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
This commit is contained in:
Chris.Wang 2023-03-16 15:11:36 +08:00 committed by Felix Held
parent 8f2953b279
commit f83b282856
2 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,10 @@ struct soc_amd_mendocino_config {
/* Force USB3 port to gen1, bit0 - controller0 Port0, bit1 - Port1 */
union usb3_force_gen1 usb3_port_force_gen1;
/* Set for eDP power sequence adjustment timing from varybl to blon. The unit is set to
one per 4ms*/
uint8_t pwr_on_vary_bl_to_blon;
};
#endif /* MENDOCINO_CHIP_H */

View File

@ -170,6 +170,7 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
}
mcfg->dxio_tx_vboost_enable = config->dxio_tx_vboost_enable;
mcfg->pwr_on_vary_bl_to_blon = config->pwr_on_vary_bl_to_blon;
fsp_fill_pcie_ddi_descriptors(mcfg);
fsp_assign_ioapic_upds(mcfg);