Merge git://git.denx.de/u-boot-usb
authorTom Rini <trini@konsulko.com>
Sun, 22 Apr 2018 13:30:36 +0000 (09:30 -0400)
committerTom Rini <trini@konsulko.com>
Sun, 22 Apr 2018 13:30:36 +0000 (09:30 -0400)
drivers/usb/host/Kconfig
drivers/usb/host/dwc3-of-simple.c

index 6caa615..3455e81 100644 (file)
@@ -23,7 +23,8 @@ config USB_XHCI_DWC3
 
 config USB_XHCI_DWC3_OF_SIMPLE
        bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
-       select MISC
+       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 54a5f60..440dd10 100644 (file)
@@ -50,7 +50,7 @@ static int dwc3_of_simple_clk_init(struct udevice *dev,
        int ret;
 
        ret = clk_get_bulk(dev, &simple->clks);
-       if (ret == -ENOTSUPP)
+       if (ret == -ENOSYS)
                return 0;
        if (ret)
                return ret;
@@ -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" },
        { }
 };