phy: exynos : add delay after reset phy for usb host
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 4 Mar 2014 06:38:14 +0000 (15:38 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:27 +0000 (07:27 +0200)
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 <jy0922.shim@samsung.com>
drivers/phy/phy-exynos4212-usb.c

index a9fa15d..c6af66d 100644 (file)
@@ -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;