Skip to content

Commit 03e6275

Browse files
ndreysgregkh
authored andcommitted
usb: chipidea: Fix ULPI on imx51
Workaround introduced for i.MX53 in be9cae2 ("usb: chipidea: imx: Fix ULPI on imx53") seems to be applicable in case of i.MX51 as well. Running latest kernel on ZII RDU1 Board (imx51-zii-rdu1.dts) exhibits a kernel frozen on PORTSC access and applying the workaround resolves the issue. Fixes: be9cae2 ("usb: chipidea: imx: Fix ULPI on imx53") Cc: Peter Chen <[email protected]> Cc: Lucas Stach <[email protected]> Cc: Chris Healy <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]> Tested-By: Nikita Yushchenko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 40ecdeb commit 03e6275

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/chipidea/ci_hdrc_imx.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
291291

292292
pdata.usb_phy = data->phy;
293293

294-
if (of_device_is_compatible(np, "fsl,imx53-usb") && pdata.usb_phy &&
294+
if ((of_device_is_compatible(np, "fsl,imx53-usb") ||
295+
of_device_is_compatible(np, "fsl,imx51-usb")) && pdata.usb_phy &&
295296
of_usb_get_phy_mode(np) == USBPHY_INTERFACE_MODE_ULPI) {
296297
pdata.flags |= CI_HDRC_OVERRIDE_PHY_CONTROL;
297298
data->override_phy_control = true;

0 commit comments

Comments
 (0)