usb: ehci-mx6: Add iMX8M support
authorMarek Vasut <marex@denx.de>
Fri, 2 Apr 2021 12:07:22 +0000 (14:07 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 18 Apr 2021 02:29:36 +0000 (04:29 +0200)
The iMX8M uses nop PHY, select PHY and NOP_PHY automatically.
Otherwise, the DM capable driver is now perfectly compatible.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
drivers/usb/host/Kconfig

index 0971a7c..bf5d82f 100644 (file)
@@ -156,7 +156,9 @@ config USB_EHCI_MX6
 
 config USB_EHCI_MX7
        bool "Support for i.MX7 on-chip EHCI USB controller"
-       depends on ARCH_MX7
+       depends on ARCH_MX7 || IMX8M
+       select PHY if IMX8M
+       select NOP_PHY if IMX8M
        default y
        ---help---
          Enables support for the on-chip EHCI controller on i.MX7 SoCs.