diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-05 12:40:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-06 09:25:21 +0200 |
commit | e2fbde50b15b19fa93cfece93c8196a0a4656940 (patch) | |
tree | 0930c3a144e1a5271cf26d5606de7932c069ad26 /drivers/usb | |
parent | d62cc84646ab2f001ed3d3c36f8ba9d401e6aee8 (diff) | |
download | barebox-e2fbde50b15b19fa93cfece93c8196a0a4656940.tar.gz barebox-e2fbde50b15b19fa93cfece93c8196a0a4656940.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/imx/imx-usb-phy.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |