phy: rockchip: mipi-dcphy: reset apb before access registers

Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I3d6539549b9d24e1c0d94b86e1c57bf8346b49cc
This commit is contained in:
Guochun Huang
2021-12-29 15:33:40 +08:00
committed by Tao Huang
parent f414167ae0
commit 7a5551c6b4

View File

@@ -1682,6 +1682,9 @@ static int samsung_mipi_dcphy_power_on(struct phy *phy)
enum phy_mode mode = phy_get_mode(phy);
pm_runtime_get_sync(samsung->dev);
reset_control_assert(samsung->apb_rst);
udelay(1);
reset_control_deassert(samsung->apb_rst);
switch (mode) {
case PHY_MODE_MIPI_DPHY: