summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-04-22 09:30:36 -0400
committerTom Rini <trini@konsulko.com>2018-04-22 09:30:36 -0400
commit275d80a4c2fb63890f3f4c16b7ad481064e650a0 (patch)
treee52ef8c4d289804e5b378b893d217c4b2cc4a1ff /drivers
parentd335a9e722bc0111bf77ae0a6a4491a7ad99b7f2 (diff)
parent38276090ee7fda6b31cac638d8c5f4fb61f57b0b (diff)
downloadu-boot-275d80a4c2fb63890f3f4c16b7ad481064e650a0.tar.gz
u-boot-275d80a4c2fb63890f3f4c16b7ad481064e650a0.tar.xz
u-boot-275d80a4c2fb63890f3f4c16b7ad481064e650a0.zip
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/Kconfig3
-rw-r--r--drivers/usb/host/dwc3-of-simple.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 6caa61552a..3455e8113b 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -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.
diff --git a/drivers/usb/host/dwc3-of-simple.c b/drivers/usb/host/dwc3-of-simple.c
index 54a5f60b52..440dd1027d 100644
--- a/drivers/usb/host/dwc3-of-simple.c
+++ b/drivers/usb/host/dwc3-of-simple.c
@@ -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" },
{ }
};