forked from Minki/linux
c2d405aa86
Add support for MaxLinear/Exar USB to Serial converters. This driver only supports XR21V141X series but it can be extended to other series from Exar as well in future. This driver is inspired from the initial one submitted by Patong Yang: https://lore.kernel.org/r/20180404070634.nhspvmxcjwfgjkcv@advantechmxl-desktop While the initial driver was a custom tty USB driver exposing whole new serial interface ttyXRUSBn, this version is completely based on USB serial core thus exposing the interfaces as ttyUSBn. This will avoid the overhead of exposing a new USB serial interface which the userspace tools are unaware of. The Exar XR21V141X can be used in either ACM mode using the cdc-acm driver or in "custom driver" mode in which further features such as hardware and software flow control, GPIO control and in-band line-status reporting are available. In ACM mode the device always enables RTS/CTS flow control, something which could prevent transmission in case the CTS input isn't wired up corrently. A follow-on patch will prevent cdc_acm from binding whenever this driver is enabled. Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://lore.kernel.org/r/20201122170822.21715-2-mani@kernel.org [ johan: fix some style nits, group related functions, drop unused callbacks, and amend commit message; a few remaining non-trivial issues will be fixed separately ] Signed-off-by: Johan Hovold <johan@kernel.org>
66 lines
2.7 KiB
Makefile
66 lines
2.7 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the USB serial device drivers.
|
|
#
|
|
|
|
# Object file lists.
|
|
|
|
obj-$(CONFIG_USB_SERIAL) += usbserial.o
|
|
|
|
usbserial-y := usb-serial.o generic.o bus.o
|
|
|
|
usbserial-$(CONFIG_USB_SERIAL_CONSOLE) += console.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_AIRCABLE) += aircable.o
|
|
obj-$(CONFIG_USB_SERIAL_ARK3116) += ark3116.o
|
|
obj-$(CONFIG_USB_SERIAL_BELKIN) += belkin_sa.o
|
|
obj-$(CONFIG_USB_SERIAL_CH341) += ch341.o
|
|
obj-$(CONFIG_USB_SERIAL_CP210X) += cp210x.o
|
|
obj-$(CONFIG_USB_SERIAL_CYBERJACK) += cyberjack.o
|
|
obj-$(CONFIG_USB_SERIAL_CYPRESS_M8) += cypress_m8.o
|
|
obj-$(CONFIG_USB_SERIAL_DEBUG) += usb_debug.o
|
|
obj-$(CONFIG_USB_SERIAL_DIGI_ACCELEPORT) += digi_acceleport.o
|
|
obj-$(CONFIG_USB_SERIAL_EDGEPORT) += io_edgeport.o
|
|
obj-$(CONFIG_USB_SERIAL_EDGEPORT_TI) += io_ti.o
|
|
obj-$(CONFIG_USB_SERIAL_EMPEG) += empeg.o
|
|
obj-$(CONFIG_USB_SERIAL_F81232) += f81232.o
|
|
obj-$(CONFIG_USB_SERIAL_F8153X) += f81534.o
|
|
obj-$(CONFIG_USB_SERIAL_FTDI_SIO) += ftdi_sio.o
|
|
obj-$(CONFIG_USB_SERIAL_GARMIN) += garmin_gps.o
|
|
obj-$(CONFIG_USB_SERIAL_IPAQ) += ipaq.o
|
|
obj-$(CONFIG_USB_SERIAL_IPW) += ipw.o
|
|
obj-$(CONFIG_USB_SERIAL_IR) += ir-usb.o
|
|
obj-$(CONFIG_USB_SERIAL_IUU) += iuu_phoenix.o
|
|
obj-$(CONFIG_USB_SERIAL_KEYSPAN) += keyspan.o
|
|
obj-$(CONFIG_USB_SERIAL_KEYSPAN_PDA) += keyspan_pda.o
|
|
obj-$(CONFIG_USB_SERIAL_KLSI) += kl5kusb105.o
|
|
obj-$(CONFIG_USB_SERIAL_KOBIL_SCT) += kobil_sct.o
|
|
obj-$(CONFIG_USB_SERIAL_MCT_U232) += mct_u232.o
|
|
obj-$(CONFIG_USB_SERIAL_METRO) += metro-usb.o
|
|
obj-$(CONFIG_USB_SERIAL_MOS7720) += mos7720.o
|
|
obj-$(CONFIG_USB_SERIAL_MOS7840) += mos7840.o
|
|
obj-$(CONFIG_USB_SERIAL_MXUPORT) += mxuport.o
|
|
obj-$(CONFIG_USB_SERIAL_NAVMAN) += navman.o
|
|
obj-$(CONFIG_USB_SERIAL_OMNINET) += omninet.o
|
|
obj-$(CONFIG_USB_SERIAL_OPTICON) += opticon.o
|
|
obj-$(CONFIG_USB_SERIAL_OPTION) += option.o
|
|
obj-$(CONFIG_USB_SERIAL_OTI6858) += oti6858.o
|
|
obj-$(CONFIG_USB_SERIAL_PL2303) += pl2303.o
|
|
obj-$(CONFIG_USB_SERIAL_QCAUX) += qcaux.o
|
|
obj-$(CONFIG_USB_SERIAL_QUALCOMM) += qcserial.o
|
|
obj-$(CONFIG_USB_SERIAL_QT2) += quatech2.o
|
|
obj-$(CONFIG_USB_SERIAL_SAFE) += safe_serial.o
|
|
obj-$(CONFIG_USB_SERIAL_SIERRAWIRELESS) += sierra.o
|
|
obj-$(CONFIG_USB_SERIAL_SIMPLE) += usb-serial-simple.o
|
|
obj-$(CONFIG_USB_SERIAL_SPCP8X5) += spcp8x5.o
|
|
obj-$(CONFIG_USB_SERIAL_SSU100) += ssu100.o
|
|
obj-$(CONFIG_USB_SERIAL_SYMBOL) += symbolserial.o
|
|
obj-$(CONFIG_USB_SERIAL_WWAN) += usb_wwan.o
|
|
obj-$(CONFIG_USB_SERIAL_TI) += ti_usb_3410_5052.o
|
|
obj-$(CONFIG_USB_SERIAL_UPD78F0730) += upd78f0730.o
|
|
obj-$(CONFIG_USB_SERIAL_VISOR) += visor.o
|
|
obj-$(CONFIG_USB_SERIAL_WISHBONE) += wishbone-serial.o
|
|
obj-$(CONFIG_USB_SERIAL_WHITEHEAT) += whiteheat.o
|
|
obj-$(CONFIG_USB_SERIAL_XR) += xr_serial.o
|
|
obj-$(CONFIG_USB_SERIAL_XSENS_MT) += xsens_mt.o
|