# For MTK USB3.0 IP config [31mCONFIG_USB_MTU3[0m tristate "MediaTek USB3 Dual Role controller" depends on [31mCONFIG_EXTCON[0m && ([31mCONFIG_USB[0m || [31mCONFIG_USB_GADGET[0m) && [31mCONFIG_HAS_DMA[0m depends on [31mCONFIG_ARCH_MEDIATEK[0m || [31mCONFIG_COMPILE_TEST[0m select [31mCONFIG_USB_XHCI_MTK[0m if [31mCONFIG_USB_SUPPORT[0m && [31mCONFIG_USB_XHCI_HCD[0m help Say Y or [31mCONFIG_M[0m here if your system runs on MediaTek SoCs with Dual Role SuperSpeed [31mCONFIG_USB[0m controller. You can select usb mode as peripheral role or host role, or both. If you don't know what this is, please say N. Choose [31mCONFIG_M[0m here to compile this driver as a module, and it will be called mtu3.ko. if [31mCONFIG_USB_MTU3[0m choice bool "MTU3 Mode Selection" default [31mCONFIG_USB_MTU3_DUAL_ROLE[0m if ([31mCONFIG_USB[0m && [31mCONFIG_USB_GADGET[0m) default [31mCONFIG_USB_MTU3_HOST[0m if ([31mCONFIG_USB[0m && ![31mCONFIG_USB_GADGET[0m) default [31mCONFIG_USB_MTU3_GADGET[0m if (![31mCONFIG_USB[0m && [31mCONFIG_USB_GADGET[0m) config [31mCONFIG_USB_MTU3_HOST[0m bool "Host only mode" depends on [31mCONFIG_USB[0m=y || [31mCONFIG_USB[0m=[31mCONFIG_USB_MTU3[0m help Select this when you want to use MTU3 in host mode only, thereby the gadget feature will be regressed. config [31mCONFIG_USB_MTU3_GADGET[0m bool "Gadget only mode" depends on [31mCONFIG_USB_GADGET[0m=y || [31mCONFIG_USB_GADGET[0m=[31mCONFIG_USB_MTU3[0m help Select this when you want to use MTU3 in gadget mode only, thereby the host feature will be regressed. config [31mCONFIG_USB_MTU3_DUAL_ROLE[0m bool "Dual Role mode" depends on (([31mCONFIG_USB[0m=y || [31mCONFIG_USB[0m=[31mCONFIG_USB_MTU3[0m) && ([31mCONFIG_USB_GADGET[0m=y || [31mCONFIG_USB_GADGET[0m=[31mCONFIG_USB_MTU3[0m)) help This is the default mode of working of MTU3 controller where both host and gadget features are enabled. endchoice config [31mCONFIG_USB_MTU3_DEBUG[0m bool "Enable Debugging Messages" help Say Y here to enable debugging messages in the MTU3 Driver. endif |