Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31732e99 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: phy: qusb: Don't held QUSB PHY into reset state



Currently QUSB PHY driver is keeping PHY into reset state and wait
for controller to bring it out of reset. Due to keeping PHY in reset
state (power down state) we are seeing no DP pulsing. Fix DP pulsing
issue by keeping QUSB PHY out of reset.

Change-Id: I7ffdf7c820455470fe7542fddd7f9453ff7cc320
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 07179574
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -896,15 +896,7 @@ static int qusb_phy_probe(struct platform_device *pdev)
		qphy->phy.notify_disconnect     = qusb_phy_notify_disconnect;
	}

	/*
	 * QUSB PHY is required to be kept into reset to save leakage current
	 * as it is out of reset as part of Chip reset. Hence keep QUSB PHY
	 * into reset explicitly here. When Controller driver is probed, it
	 * brings QUSB PHY out of reset after initializing it.
	 */
	clk_reset(qphy->phy_reset, CLK_RESET_ASSERT);
	ret = usb_add_phy_dev(&qphy->phy);

	return ret;
}