From b0f6a2e4b6fa59d58ef84d6df59ec83d085aea8c Mon Sep 17 00:00:00 2001 From: Joonyoung Shim Date: Tue, 4 Mar 2014 15:38:14 +0900 Subject: [PATCH] phy: exynos : add delay after reset phy for usb host The commit 2b431ff74a850db3d5b804be3ac466b6ed7f516d(ARM: EXYNOS4: Increase reset delay for USB HOST PHY) uses 80 usec delay time after reset phy for usb host, so this adds delay for reset. If isn't this delay, it will cause any problem to set usb host register. Change-Id: I1410dacc6939218bc26510cd45ebd4c0d37dbc62 Signed-off-by: Joonyoung Shim --- drivers/phy/phy-exynos4212-usb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/phy-exynos4212-usb.c b/drivers/phy/phy-exynos4212-usb.c index a9fa15d..c6af66d 100644 --- a/drivers/phy/phy-exynos4212-usb.c +++ b/drivers/phy/phy-exynos4212-usb.c @@ -233,6 +233,7 @@ static void exynos4212_phy_pwr(struct uphy_instance *inst, bool on) udelay(10); rst &= ~rstbits; writel(rst, drv->reg_phy + EXYNOS_4212_UPHYRST); + udelay(80); } else { pwr = readl(drv->reg_phy + EXYNOS_4212_UPHYPWR); pwr |= phypwr; -- 2.7.4