4 tristate "MediaTek USB3 Dual Role controller"
5 depends on (USB || USB_GADGET) && HAS_DMA
6 depends on ARCH_MEDIATEK || COMPILE_TEST
8 Say Y or M here if your system runs on MediaTek SoCs with
9 Dual Role SuperSpeed USB controller. You can select usb
10 mode as peripheral role or host role, or both.
12 If you don't know what this is, please say N.
14 Choose M here to compile this driver as a module, and it
15 will be called mtu3.ko.
20 bool "MTU3 Mode Selection"
21 default USB_MTU3_GADGET if (!USB && USB_GADGET)
23 config USB_MTU3_GADGET
24 bool "Gadget only mode"
25 depends on USB_GADGET=y || USB_GADGET=USB_MTU3
27 Select this when you want to use MTU3 in gadget mode only,
28 thereby the host feature will be regressed.