usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback
[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 config USB_DWC3_GENERIC
41         bool "Generic implementation of a DWC3 wrapper (aka dwc3 glue)"
42         depends on DM_USB && USB_DWC3 && MISC
43         help
44           Select this for Xilinx ZynqMP and similar Platforms.
45           This wrapper supports Host and Peripheral operation modes.
46
47 config USB_DWC3_MESON_G12A
48         bool "Amlogic Meson G12A USB wrapper"
49         depends on DM_USB && USB_DWC3 && ARCH_MESON
50         imply PHY
51         help
52           Select this for Amlogic Meson G12A Platforms.
53           This wrapper supports Host and Peripheral operation modes.
54
55 config USB_DWC3_UNIPHIER
56         bool "DesignWare USB3 Host Support on UniPhier Platforms"
57         depends on ARCH_UNIPHIER && USB_XHCI_DWC3
58         help
59           Support of USB2/3 functionality in Socionext UniPhier platforms.
60           Say 'Y' here if you have one such device.
61
62 menu "PHY Subsystem"
63
64 config USB_DWC3_PHY_OMAP
65         bool "TI OMAP SoC series USB DRD PHY driver"
66         help
67           Enable single driver for both USB2 PHY programming and USB3 PHY
68           programming for TI SoCs.
69
70 config USB_DWC3_PHY_SAMSUNG
71         bool "Exynos5 SoC series USB DRD PHY driver"
72         help
73           Enable USB DRD PHY support for Exynos 5 SoC series.
74           This driver provides PHY interface for USB 3.0 DRD controller
75           present on Exynos5 SoC series.
76
77 endmenu
78
79 endif