On 4/6/21 9:34 PM, Harm Berntsen wrote:
[...]
diff --git a/drivers/phy/nop-phy.c b/drivers/phy/nop-phy.c
index 84aac806230..9f12ebc0624 100644
--- a/drivers/phy/nop-phy.c
+++ b/drivers/phy/nop-phy.c
@@ -43,6 +43,7 @@ static int nop_phy_probe(struct udevice *dev)
 static const struct udevice_id nop_phy_ids[] = {
         { .compatible = "nop-phy" },
+       { .compatible = "usb-nop-xceiv" },
         { }
  };

Hi Marek,

I've tested this patch series on my IMX8MN board, the USB host
functionality works!

For other IMX8MN users who want to test this:

Add IMX8MN to the Kconfig:

--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -156,7 +156,7 @@ config USB_EHCI_MX6
config USB_EHCI_MX7
         bool "Support for i.MX7 on-chip EHCI USB controller"
-       depends on ARCH_MX7 || IMX8MM
+       depends on ARCH_MX7 || IMX8MM || IMX8MN


And add the following to your board header:

#define CONFIG_MXC_USB_PORTSC  (PORT_PTS_UTMI | PORT_PTS_PTW)

Nice. I still need to sort out a few details regarding the older MX6/7, so expect a V2. Once that's out, feel free to submit a patch adding MX8MN too.

Reply via email to