mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 07:26:41 +07:00
d0ed062a8b
support dual-role mode; there are two ways to switch between host and device modes, one is by idpin, another is by debugfs which depends on user input. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 lines
421 B
Makefile
19 lines
421 B
Makefile
|
|
ccflags-$(CONFIG_USB_MTU3_DEBUG) += -DDEBUG
|
|
|
|
obj-$(CONFIG_USB_MTU3) += mtu3.o
|
|
|
|
mtu3-y := mtu3_plat.o
|
|
|
|
ifneq ($(filter y,$(CONFIG_USB_MTU3_HOST) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
|
|
mtu3-y += mtu3_host.o
|
|
endif
|
|
|
|
ifneq ($(filter y,$(CONFIG_USB_MTU3_GADGET) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
|
|
mtu3-y += mtu3_core.o mtu3_gadget_ep0.o mtu3_gadget.o mtu3_qmu.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),)
|
|
mtu3-y += mtu3_dr.o
|
|
endif
|