c0251b1937ccb2aac4fc394720b7e39bc3f0b39a
[platform/kernel/u-boot.git] / drivers / usb / dwc3 / Kconfig
1 config USB_DWC3
2         bool "DesignWare USB3 DRD Core Support"
3         depends on (USB && USB_GADGET)
4         select USB_GADGET_DUALSPEED
5         help
6           Say Y here if your system has a Dual Role SuperSpeed
7           USB controller based on the DesignWare USB3 IP Core.
8
9 if USB_DWC3
10
11 choice
12         bool "DWC3 Mode Selection"
13
14 config USB_DWC3_HOST
15         bool "Host only mode"
16         depends on USB
17         help
18           Select this when you want to use DWC3 in host mode only,
19           thereby the gadget feature will be regressed.
20
21 config USB_DWC3_GADGET
22         bool "Gadget only mode"
23         depends on USB_GADGET
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 endif