Merge "fix(drivers/marvell/comphy-3700): configure phy selector also for PCIe" into integration

This commit is contained in:
Manish Pandey 2021-10-14 18:03:28 +02:00 committed by TrustedFirmware Code Review
commit 68d8d3e7af
1 changed files with 6 additions and 0 deletions

View File

@ -815,6 +815,12 @@ static int mvebu_a3700_comphy_pcie_power_on(uint8_t comphy_index,
debug_enter();
/* Configure phy selector for PCIe */
ret = mvebu_a3700_comphy_set_phy_selector(comphy_index, comphy_mode);
if (ret) {
return ret;
}
/* 1. Enable max PLL. */
reg_set16(LANE_CFG1_ADDR(PCIE) + COMPHY_SD_ADDR,
USE_MAX_PLL_RATE_EN, USE_MAX_PLL_RATE_EN);