kernel_samsung_a53x/drivers/usb/serial
Victor Fragoso 95e8c45b9f USB: serial: option: add Fibocom L7xx modules
commit e389fe8b68137344562fb6e4d53d8a89ef6212dd upstream.

Add support for Fibocom L716-EU module series.

L716-EU is a Fibocom module based on ZTE's V3E/V3T chipset.

Device creates multiple interfaces when connected to PC as follows:
 - Network Interface: ECM or RNDIS (set by FW or AT Command)
 - ttyUSB0: AT port
 - ttyUSB1: Modem port
 - ttyUSB2: AT2 port
 - ttyUSB3: Trace port for log information
 - ADB: ADB port for debugging. ("Driver=usbfs" when ADB server enabled)

Here are the outputs of lsusb and usb-devices:
$ ls /dev/ttyUSB*
/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2  /dev/ttyUSB3

usb-devices:
L716-EU (ECM mode):
T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 51 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2cb7 ProdID=0001 Rev= 1.00
S:  Manufacturer=Fibocom,Incorporated
S:  Product=Fibocom Mobile Boardband
S:  SerialNumber=1234567890ABCDEF
C:* #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=87(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

L716-EU (RNDIS mode):
T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 49 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2cb7 ProdID=0001 Rev= 1.00
S:  Manufacturer=Fibocom,Incorporated
S:  Product=Fibocom Mobile Boardband
S:  SerialNumber=1234567890ABCDEF
C:* #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=rndis_host
E:  Ad=87(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Signed-off-by: Victor Fragoso <victorffs@hotmail.com>
Reviewed-by: Lars Melin <larsm17@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:10:58 +01:00
..
aircable.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ark3116.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
belkin_sa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
belkin_sa.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ch341.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
console.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cp210x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cyberjack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_m8.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_m8.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
digi_acceleport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
empeg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ezusb_convert.pl Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
f81232.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
f81534.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ftdi_sio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ftdi_sio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ftdi_sio_ids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
garmin_gps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
generic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_16654.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_edgeport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_edgeport.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_ionsp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_ti.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_ti.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_usbvend.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipaq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ir-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iuu_phoenix.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iuu_phoenix.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_pda.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa26msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa28msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa49msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa67msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa90msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kl5kusb105.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kl5kusb105.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kobil_sct.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kobil_sct.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile-keyspan_pda_fw Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mct_u232.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mct_u232.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
metro-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mos7720.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mos7840.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mxuport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
navman.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omninet.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opticon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
option.c USB: serial: option: add Fibocom L7xx modules 2024-11-18 12:10:58 +01:00
oti6858.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
oti6858.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pl2303.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pl2303.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcaux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcserial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quatech2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
safe_serial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sierra.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spcp8x5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ssu100.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbolserial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_usb_3410_5052.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
upd78f0730.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb-serial-simple.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb-serial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb-wwan.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb_debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb_wwan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
visor.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
visor.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
whiteheat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
whiteheat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wishbone-serial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xsens_mt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00