android_kernel_xiaomi_sm8350/drivers/usb/serial
Reinhard Speyerer a83debb523 USB: serial: option: add Quectel RM500Q R13 firmware support
commit 06f22cd6635bdae7d73566fca9879b2026a08e00 upstream.

Add support for Quectel RM500Q R13 firmware which uses Prot=40 for the
NMEA port:

T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  8 Spd=5000 MxCh= 0
D:  Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=2c7c ProdID=0800 Rev= 4.14
S:  Manufacturer=Quectel
S:  Product=RM500Q-AE
S:  SerialNumber=xxxxxxxx
C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=896mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=40 Driver=option
E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=87(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E:  Ad=88(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
E:  Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

Signed-off-by: Reinhard Speyerer <rspmn@arcor.de>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-08 11:29:47 +01:00
..
aircable.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: fix disabled rx timer on older devices 2022-09-15 12:04:53 +02:00
console.c
cp210x.c USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs 2023-04-20 12:07:33 +02:00
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c
empeg.c
ezusb_convert.pl
f81232.c USB: serial: f81232: fix division by zero on line-speed change 2023-01-18 11:40:47 +01:00
f81534.c USB: serial: f81534: fix division by zero on line-speed change 2023-01-18 11:40:48 +01:00
ftdi_sio_ids.h USB: serial: ftdi_sio: update Actisense PIDs constant names 2024-01-08 11:29:46 +01:00
ftdi_sio.c USB: serial: ftdi_sio: update Actisense PIDs constant names 2024-01-08 11:29:46 +01:00
ftdi_sio.h
garmin_gps.c
generic.c
io_16654.h
io_edgeport.c
io_edgeport.h
io_ionsp.h
io_ti.c USB: serial: io_ti: add Agilent E5805A support 2022-06-22 14:11:23 +02:00
io_ti.h
io_usbvend.h USB: serial: io_ti: add Agilent E5805A support 2022-06-22 14:11:23 +02:00
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c
iuu_phoenix.h
Kconfig USB: serial: simple: add Nokia phone driver 2022-04-15 14:17:55 +02:00
keyspan_pda.c
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: serial: keyspan: fix memleak on probe errors 2021-11-17 09:48:26 +01:00
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c
mct_u232.h
metro-usb.c
mos7720.c
mos7840.c USB: serial: mos7840: remove duplicated 0xac24 device ID 2021-09-30 10:09:21 +02:00
mxuport.c
navman.c
omninet.c
opticon.c
option.c USB: serial: option: add Quectel RM500Q R13 firmware support 2024-01-08 11:29:47 +01:00
oti6858.c
oti6858.h
pl2303.c USB: serial: pl2303: add device id for HP LM930 Display 2022-05-18 09:47:27 +02:00
pl2303.h USB: serial: pl2303: add device id for HP LM930 Display 2022-05-18 09:47:27 +02:00
qcaux.c
qcserial.c USB: serial: qcserial: add new usb-id for Dell branded EM7455 2022-10-15 07:54:39 +02:00
quatech2.c
safe_serial.c
sierra.c USB: serial: fix tty-port initialized comments 2022-08-25 11:17:58 +02:00
spcp8x5.c
ssu100.c
symbolserial.c
ti_usb_3410_5052.c
upd78f0730.c
usb_debug.c
usb_wwan.c USB: serial: fix tty-port initialized comments 2022-08-25 11:17:58 +02:00
usb-serial-simple.c USB: serial: simple: sort driver entries 2023-08-11 11:53:50 +02:00
usb-serial.c USB: serial: fix tty-port initialized comments 2022-08-25 11:17:58 +02:00
usb-wwan.h
visor.c
visor.h
whiteheat.c USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS 2022-05-09 09:03:21 +02:00
whiteheat.h
wishbone-serial.c
xsens_mt.c