usb: dwc3-of-simple: Add support for DRA7/AM57 platforms.
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 12 Apr 2018 08:41:11 +0000 (10:41 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 21 Apr 2018 16:38:56 +0000 (18:38 +0200)
Add the compatibility with "ti,dwc3" and enable it by default if DM_USB
is enabled.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/usb/host/Kconfig
drivers/usb/host/dwc3-of-simple.c

index 6ea962159eee76332cd9e5a95e486d8e4e94f4a1..3455e8113bb83bce855bebdb5fabb8d0aba608ab 100644 (file)
@@ -24,6 +24,7 @@ config USB_XHCI_DWC3
 config USB_XHCI_DWC3_OF_SIMPLE
        bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
        depends on DM_USB
+       default y if DRA7XX
        help
          Support USB2/3 functionality in simple SoC integrations with
          USB controller based on the DesignWare USB3 IP Core.
index 54a5f60b52809118ead24c8abbf59d322e19f467..abc3928f8bdd30fbd5f40d65a9477707fc38274b 100644 (file)
@@ -95,6 +95,7 @@ static int dwc3_of_simple_remove(struct udevice *dev)
 
 static const struct udevice_id dwc3_of_simple_ids[] = {
        { .compatible = "amlogic,meson-gxl-dwc3" },
+       { .compatible = "ti,dwc3" },
        { }
 };