[PATCH 01/19] phy: nop-phy: Add standard usb-nop-xceiv compat string

Harm Berntsen harm.berntsen at nedap.com
Tue Apr 6 21:34:14 CEST 2021


On Fri, 2021-04-02 at 14:47 +0200, Marek Vasut wrote:
> The USB no-op PHY uses "usb-nop-xceiv" compatible string. This driver
> is
> compatible with USB no-op PHY, so add the compatible string.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Alexey Brodkin <alexey.brodkin at synopsys.com>
> Cc: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Jean-Jacques Hiblot <jjhiblot at ti.com>
> Cc: Murali Karicheri <m-karicheri2 at ti.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Ye Li <ye.li at nxp.com>
> Cc: uboot-imx <uboot-imx at nxp.com>
> ---
>  drivers/phy/nop-phy.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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)

Kind regards,
Harm Berntsen


More information about the U-Boot mailing list