Skip to content
Snippets Groups Projects
Commit e50c2faa authored by Oliver Brown's avatar Oliver Brown
Browse files

MLK-21142-2: phy: mixel-mipi: Assert PHY reset in phy_init


The reset needs to be set in phy_init to handle the warm reset case.

Signed-off-by: default avatarOliver Brown <oliver.brown@nxp.com>
parent 3776d1df
No related branches found
No related tags found
No related merge requests found
......@@ -333,6 +333,13 @@ static int mixel_mipi_phy_init(struct phy *phy)
phy_write(phy, PWR_OFF, DPHY_PD_PLL);
phy_write(phy, PWR_OFF, DPHY_PD_DPHY);
if (priv->plat_data->have_sc) {
int ret;
ret = mixel_mipi_phy_enable(phy, 0);
if (ret)
return ret;
}
mixel_phy_set_prg_regs(phy);
phy_write(phy, 0x00, DPHY_LOCK_BYP);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment