1 # SPDX-License-Identifier: GPL-2.0
6 bool "MediaTek USB3 Dual Role controller"
7 depends on USB_XHCI_HCD || USB_GADGET
8 depends on ARCH_MEDIATEK
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.
14 If you don't know what this is, please say N.
18 bool "MTU3 Mode Selection"
19 default USB_MTU3_GADGET if USB_GADGET
20 default USB_MTU3_HOST if (USB_HOST && !USB_GADGET)
24 depends on USB_XHCI_HCD
26 Select this when you want to use MTU3 in host mode only,
27 thereby the gadget feature will be regressed.
29 config USB_MTU3_GADGET
30 bool "Gadget only mode"
32 select USB_GADGET_DUALSPEED
34 Select this when you want to use MTU3 in gadget mode only,
35 thereby the host feature will be regressed.
40 bool "Enable Debugging Messages"
42 Say Y here to enable debugging messages in the MTU3 Driver.