1
2
3
4
5config USB_MTU3
6 bool "MediaTek USB3 Dual Role controller"
7 depends on USB_XHCI_HCD || USB_GADGET
8 depends on ARCH_MEDIATEK
9 help
10 Say Y here if your system runs on MediaTek SoCs with
11 Dual Role SuperSpeed USB controller. You can select usb
12 mode as peripheral role or host role.
13
14 If you don't know what this is, please say N.
15
16if USB_MTU3
17choice
18 bool "MTU3 Mode Selection"
19 default USB_MTU3_GADGET if USB_GADGET
20 default USB_MTU3_HOST if (USB_HOST && !USB_GADGET)
21
22config USB_MTU3_HOST
23 bool "Host only mode"
24 depends on USB_XHCI_HCD
25 help
26 Select this when you want to use MTU3 in host mode only,
27 thereby the gadget feature will be regressed.
28
29config USB_MTU3_GADGET
30 bool "Gadget only mode"
31 depends on USB_GADGET
32 select USB_GADGET_DUALSPEED
33 help
34 Select this when you want to use MTU3 in gadget mode only,
35 thereby the host feature will be regressed.
36
37endchoice
38
39config USB_MTU3_DEBUG
40 bool "Enable Debugging Messages"
41 help
42 Say Y here to enable debugging messages in the MTU3 Driver.
43
44endif
45