Merge "usb: phy: qmp: Select usb3 phy mode before initializing PHY"
This commit is contained in:
commit
425ffe81c8
1 changed files with 3 additions and 3 deletions
|
@ -307,13 +307,13 @@ static int msm_ssphy_qmp_init(struct usb_phy *uphy)
|
||||||
phy->clk_enabled = true;
|
phy->clk_enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
writel_relaxed(0x01,
|
|
||||||
phy->base + phy->phy_reg[USB3_PHY_POWER_DOWN_CONTROL]);
|
|
||||||
|
|
||||||
/* select usb3 phy mode */
|
/* select usb3 phy mode */
|
||||||
if (phy->tcsr_usb3_dp_phymode)
|
if (phy->tcsr_usb3_dp_phymode)
|
||||||
writel_relaxed(0x0, phy->tcsr_usb3_dp_phymode);
|
writel_relaxed(0x0, phy->tcsr_usb3_dp_phymode);
|
||||||
|
|
||||||
|
writel_relaxed(0x01,
|
||||||
|
phy->base + phy->phy_reg[USB3_PHY_POWER_DOWN_CONTROL]);
|
||||||
|
|
||||||
/* Make sure that above write completed to get PHY into POWER DOWN */
|
/* Make sure that above write completed to get PHY into POWER DOWN */
|
||||||
mb();
|
mb();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue