usb: dwc3: fix Kconfig dependency to accept host driver in drivers/usb/dwc3
[oweals/u-boot.git] / drivers / usb / dwc3 / Kconfig
1 config USB_DWC3
2         bool "DesignWare USB3 DRD Core Support"
3         depends on USB_HOST || USB_GADGET
4         help
5           Say Y here if your system has a Dual Role SuperSpeed
6           USB controller based on the DesignWare USB3 IP Core.
7
8 if USB_DWC3
9
10 choice
11         bool "DWC3 Mode Selection"
12
13 config USB_DWC3_HOST
14         bool "Host only mode"
15         depends on USB
16         help
17           Select this when you want to use DWC3 in host mode only,
18           thereby the gadget feature will be regressed.
19
20 config USB_DWC3_GADGET
21         bool "Gadget only mode"
22         depends on USB_GADGET
23         select USB_GADGET_DUALSPEED
24         help
25           Select this when you want to use DWC3 in gadget mode only,
26           thereby the host feature will be regressed.
27
28 endchoice
29
30 comment "Platform Glue Driver Support"
31
32 config USB_DWC3_OMAP
33         bool "Texas Instruments OMAP5 and similar Platforms"
34         help
35           Some platforms from Texas Instruments like OMAP5, DRA7xxx and
36           AM437x use this IP for USB2/3 functionality.
37
38           Say 'Y' here if you have one such device
39
40 menu "PHY Subsystem"
41
42 config USB_DWC3_PHY_OMAP
43         bool "TI OMAP SoC series USB DRD PHY driver"
44         help
45           Enable single driver for both USB2 PHY programming and USB3 PHY
46           programming for TI SoCs.
47
48 config USB_DWC3_PHY_SAMSUNG
49         bool "Exynos5 SoC series USB DRD PHY driver"
50         help
51           Enable USB DRD PHY support for Exynos 5 SoC series.
52           This driver provides PHY interface for USB 3.0 DRD controller
53           present on Exynos5 SoC series.
54
55 endmenu
56
57 endif