From e2fbde50b15b19fa93cfece93c8196a0a4656940 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 5 May 2020 12:40:18 +0200 Subject: usb: imx-usb-phy: Add delay The imx-usb-phy needs a small delay on i.MX28, otherwise the stmp_reset_block() fails. Add this delay unconditionally as it doesn't seem to be worth it to limit the delay on this platform. Signed-off-by: Sascha Hauer --- drivers/usb/imx/imx-usb-phy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/usb') diff --git a/drivers/usb/imx/imx-usb-phy.c b/drivers/usb/imx/imx-usb-phy.c index 069dddcacb..c23a747d0b 100644 --- a/drivers/usb/imx/imx-usb-phy.c +++ b/drivers/usb/imx/imx-usb-phy.c @@ -57,6 +57,7 @@ static int imx_usbphy_phy_init(struct phy *phy) int ret; clk_enable(imxphy->clk); + mdelay(1); ret = stmp_reset_block(imxphy->base + HW_USBPHY_CTRL, false); if (ret) -- cgit v1.2.3