blob: c0251b1937ccb2aac4fc394720b7e39bc3f0b39a [file] [log] [blame]
Sam Protsenkob4a0bf72016-04-13 14:20:25 +03001config 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.
Sam Protsenko8073f472016-04-13 14:20:27 +03008
9if USB_DWC3
10
11choice
12 bool "DWC3 Mode Selection"
13
14config 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
21config 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
28endchoice
29
30endif