android_kernel_oneplus_msm8998/drivers/usb/serial
Aleksander Morgado 39cd328e84 USB: option: add support for DW5821e
commit 7bab01ecc6c43da882333c6db39741cb43677004 upstream.

The device exposes AT, NMEA and DIAG ports in both USB configurations.

The patch explicitly ignores interfaces 0 and 1, as they're bound to
other drivers already; and also interface 6, which is a GNSS interface
for which we don't have a driver yet.

T:  Bus=01 Lev=03 Prnt=04 Port=00 Cnt=01 Dev#= 18 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  2
P:  Vendor=413c ProdID=81d7 Rev=03.18
S:  Manufacturer=DELL
S:  Product=DW5821e Snapdragon X20 LTE
S:  SerialNumber=0123456789ABCDEF
C:  #Ifs= 7 Cfg#= 2 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 6 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

T:  Bus=01 Lev=03 Prnt=04 Port=00 Cnt=01 Dev#= 16 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  2
P:  Vendor=413c ProdID=81d7 Rev=03.18
S:  Manufacturer=DELL
S:  Product=DW5821e Snapdragon X20 LTE
S:  SerialNumber=0123456789ABCDEF
C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-22 07:48:37 +02:00
..
aircable.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: fix type promotion bug in ch341_control_in() 2018-07-17 11:31:43 +02:00
console.c USB: serial: console: fix use-after-free after failed setup 2017-10-18 09:20:43 +02:00
cp210x.c USB: serial: cp210x: add another USB ID for Qivicon ZigBee stick 2018-07-17 11:31:43 +02:00
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c
empeg.c
ezusb_convert.pl
f81232.c
ftdi_sio.c USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster 2018-05-02 07:53:39 -07:00
ftdi_sio.h
ftdi_sio_ids.h USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator 2018-04-08 11:52:00 +02:00
garmin_gps.c USB: serial: garmin_gps: fix memory leak on probe errors 2017-11-21 09:21:23 +01:00
generic.c
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix possible sleep-in-atomic 2018-02-03 17:04:30 +01:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB: serial: io_ti: fix div-by-zero in set_termios 2017-05-25 14:30:13 +02:00
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c
iuu_phoenix.h
Kconfig USB: serial: simple: add libtransistor console 2018-05-02 07:53:39 -07:00
keyspan.c
keyspan.h
keyspan_pda.c USB: serial: keyspan_pda: fix modem-status error handling 2018-07-17 11:31:43 +02:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c
mct_u232.h
metro-usb.c USB: serial: metro-usb: add MS7820 device id 2017-10-27 10:23:15 +02:00
mos7720.c USB: serial: mos7720: fix control-message error handling 2017-10-08 10:14:17 +02:00
mos7840.c USB: serial: mos7840: fix status-register error handling 2018-07-17 11:31:43 +02:00
mxuport.c
navman.c
omninet.c
opticon.c
option.c USB: option: add support for DW5821e 2018-08-22 07:48:37 +02:00
oti6858.c
oti6858.h
pl2303.c USB: serial: pl2303: new device id for Chilitag 2018-02-03 17:04:29 +01:00
pl2303.h USB: serial: pl2303: new device id for Chilitag 2018-02-03 17:04:29 +01:00
qcaux.c
qcserial.c USB: serial: qcserial: add Sierra Wireless EM7565 2018-01-02 20:33:27 +01:00
quatech2.c
safe_serial.c
sierra.c USB: serial: sierra: fix potential deadlock at close 2018-08-22 07:48:37 +02:00
spcp8x5.c
ssu100.c
symbolserial.c
ti_usb_3410_5052.c
ti_usb_3410_5052.h
usb-serial-simple.c USB: serial: simple: add libtransistor console 2018-05-02 07:53:39 -07:00
usb-serial.c
usb-wwan.h
usb_debug.c
usb_wwan.c
visor.c USB: serial: visor: handle potential invalid device configuration 2018-05-16 10:06:49 +02:00
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c