Kconfig (976e3645923bdd2fe7893aae33fd7a21098bfb28) Kconfig (b95d0899c8bfa1346dd195e868c48008d888bac9)
1# SPDX-License-Identifier: GPL-2.0
2#
3# For MTK USB3.0 IP
4
5config USB_MTU3
6 tristate "MediaTek USB3 Dual Role controller"
7 depends on USB || USB_GADGET
8 depends on ARCH_MEDIATEK || COMPILE_TEST

--- 7 unchanged lines hidden (view full) ---

16 If you don't know what this is, please say N.
17
18 Choose M here to compile this driver as a module, and it
19 will be called mtu3.ko.
20
21
22if USB_MTU3
23choice
1# SPDX-License-Identifier: GPL-2.0
2#
3# For MTK USB3.0 IP
4
5config USB_MTU3
6 tristate "MediaTek USB3 Dual Role controller"
7 depends on USB || USB_GADGET
8 depends on ARCH_MEDIATEK || COMPILE_TEST

--- 7 unchanged lines hidden (view full) ---

16 If you don't know what this is, please say N.
17
18 Choose M here to compile this driver as a module, and it
19 will be called mtu3.ko.
20
21
22if USB_MTU3
23choice
24 bool "MTU3 Mode Selection"
24 prompt "MTU3 Mode Selection"
25 default USB_MTU3_DUAL_ROLE if (USB && USB_GADGET)
26 default USB_MTU3_HOST if (USB && !USB_GADGET)
27 default USB_MTU3_GADGET if (!USB && USB_GADGET)
28
29config USB_MTU3_HOST
30 bool "Host only mode"
31 depends on USB=y || USB=USB_MTU3
32 help

--- 27 unchanged lines hidden ---
25 default USB_MTU3_DUAL_ROLE if (USB && USB_GADGET)
26 default USB_MTU3_HOST if (USB && !USB_GADGET)
27 default USB_MTU3_GADGET if (!USB && USB_GADGET)
28
29config USB_MTU3_HOST
30 bool "Host only mode"
31 depends on USB=y || USB=USB_MTU3
32 help

--- 27 unchanged lines hidden ---