diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2018-04-12 10:41:11 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-04-21 18:38:56 +0200 |
commit | cc73ba97c008e96df5799dc37acbb04344fb3ac6 (patch) | |
tree | dfe1e37e702def1f79f79c76fad525182ac09877 /drivers/usb/host | |
parent | 103774b71cc0e510f890f639f9c3a65ad9d005c9 (diff) | |
download | u-boot-cc73ba97c008e96df5799dc37acbb04344fb3ac6.tar.gz u-boot-cc73ba97c008e96df5799dc37acbb04344fb3ac6.tar.xz u-boot-cc73ba97c008e96df5799dc37acbb04344fb3ac6.zip |
usb: dwc3-of-simple: Add support for DRA7/AM57 platforms.
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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/host/dwc3-of-simple.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 6ea962159e..3455e8113b 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -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. diff --git a/drivers/usb/host/dwc3-of-simple.c b/drivers/usb/host/dwc3-of-simple.c index 54a5f60b52..abc3928f8b 100644 --- a/drivers/usb/host/dwc3-of-simple.c +++ b/drivers/usb/host/dwc3-of-simple.c @@ -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" }, { } }; |