u-boot/drivers/usb/dwc3
Oleksandr Suvorov 7f4b73fe69 usb: dwc3: Fix enabling USB_DR_MODE_HOST
The original logic always enables USB_DR_MODE_HOST operation mode in
dwc3_layerscape_bind() in u-boot. Prevent choosing USB_DR_MODE_HOST
operation mode if USB_HOST is not enabled.

Fixes: 2b0b51d0be ("usb: dwc3: add layerscape support")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-09-04 15:51:38 +02:00
..
core.c usb: dwc3: Drop support for "snps, ref-clock-period-ns" DT property 2022-11-27 15:34:56 +01:00
core.h usb: dwc3: Program GFLADJ 2022-11-27 15:34:56 +01:00
dwc3-generic.c usb: dwc3: Fix remove function if there is no ulpi_reset gpio 2023-08-25 02:35:40 +02:00
dwc3-generic.h usb: dwc3-generic: Add the size of regs property to glue structure 2023-02-22 19:40:11 +01:00
dwc3-layerscape.c usb: dwc3: Fix enabling USB_DR_MODE_HOST 2023-09-04 15:51:38 +02:00
dwc3-meson-g12a.c usb: dwc3-meson-g12a: force mode on child add/removal 2023-01-17 09:27:17 +01:00
dwc3-meson-gxl.c usb: dwc3-meson-gxl: force mode on child add/removal 2023-01-20 16:21:31 +01:00
dwc3-omap.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
dwc3-uniphier.c usb: dwc3-uniphier: Use dwc3-generic instead of xhci-dwc3 2023-02-22 19:40:11 +01:00
ep0.c usb: dwc3: Fix not calling dev_xxx with a device 2020-09-30 08:53:54 -04:00
gadget.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
gadget.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
io.h common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
Kconfig usb: dwc3-meson-g12a: Select PHY instead of imply PHY 2023-03-02 22:42:27 +01:00
linux-compat.h lib: string: Implement strlcat 2021-04-12 17:44:55 -04:00
Makefile usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver 2022-07-15 14:10:39 +02:00
samsung_usb_phy.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ti_usb_phy.c usb: dwc3: ti: Fix not calling dev_err with a device 2020-09-30 08:53:58 -04:00