1df2069acSChunfeng Yun# For MTK USB3.0 IP 2df2069acSChunfeng Yun 3df2069acSChunfeng Yunconfig USB_MTU3 4df2069acSChunfeng Yun tristate "MediaTek USB3 Dual Role controller" 5df2069acSChunfeng Yun depends on (USB || USB_GADGET) && HAS_DMA 6df2069acSChunfeng Yun depends on ARCH_MEDIATEK || COMPILE_TEST 7df2069acSChunfeng Yun help 8df2069acSChunfeng Yun Say Y or M here if your system runs on MediaTek SoCs with 9df2069acSChunfeng Yun Dual Role SuperSpeed USB controller. You can select usb 10df2069acSChunfeng Yun mode as peripheral role or host role, or both. 11df2069acSChunfeng Yun 12df2069acSChunfeng Yun If you don't know what this is, please say N. 13df2069acSChunfeng Yun 14df2069acSChunfeng Yun Choose M here to compile this driver as a module, and it 15df2069acSChunfeng Yun will be called mtu3.ko. 16df2069acSChunfeng Yun 17df2069acSChunfeng Yun 18df2069acSChunfeng Yunif USB_MTU3 19df2069acSChunfeng Yunchoice 20df2069acSChunfeng Yun bool "MTU3 Mode Selection" 21df2069acSChunfeng Yun default USB_MTU3_GADGET if (!USB && USB_GADGET) 22df2069acSChunfeng Yun 23df2069acSChunfeng Yunconfig USB_MTU3_GADGET 24df2069acSChunfeng Yun bool "Gadget only mode" 25df2069acSChunfeng Yun depends on USB_GADGET=y || USB_GADGET=USB_MTU3 26df2069acSChunfeng Yun help 27df2069acSChunfeng Yun Select this when you want to use MTU3 in gadget mode only, 28df2069acSChunfeng Yun thereby the host feature will be regressed. 29df2069acSChunfeng Yun 30df2069acSChunfeng Yunendchoice 31df2069acSChunfeng Yun 32df2069acSChunfeng Yunendif 33