xref: /openbmc/u-boot/drivers/usb/dwc3/Kconfig (revision d6736689)
1config 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
8if USB_DWC3
9
10choice
11	bool "DWC3 Mode Selection"
12
13config 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
20config 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
28endchoice
29
30comment "Platform Glue Driver Support"
31
32config 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
40config USB_DWC3_GENERIC
41	bool "Xilinx ZynqMP and similar Platforms"
42	depends on DM_USB && USB_DWC3
43	help
44	  Some platforms can reuse this DWC3 generic implementation.
45
46config USB_DWC3_UNIPHIER
47	bool "DesignWare USB3 Host Support on UniPhier Platforms"
48	depends on ARCH_UNIPHIER && USB_XHCI_DWC3
49	help
50	  Support of USB2/3 functionality in Socionext UniPhier platforms.
51	  Say 'Y' here if you have one such device.
52
53menu "PHY Subsystem"
54
55config USB_DWC3_PHY_OMAP
56	bool "TI OMAP SoC series USB DRD PHY driver"
57	help
58	  Enable single driver for both USB2 PHY programming and USB3 PHY
59	  programming for TI SoCs.
60
61config USB_DWC3_PHY_SAMSUNG
62	bool "Exynos5 SoC series USB DRD PHY driver"
63	help
64	  Enable USB DRD PHY support for Exynos 5 SoC series.
65	  This driver provides PHY interface for USB 3.0 DRD controller
66	  present on Exynos5 SoC series.
67
68endmenu
69
70endif
71