Aleksander Morgado
224fa057d7
USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules
...
commit 1ac698790819b83f39fd7ea4f6cdabee9bdd7b38 upstream.
These modules have 2 different USB layouts:
The default layout with PID 0x9205 (AT+CUSBSELNV=1) exposes 4 TTYs and
an ECM interface:
T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 6 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1e0e ProdID=9205 Rev=00.00
S: Manufacturer=SimTech, Incorporated
S: Product=SimTech SIM7080
S: SerialNumber=1234567890ABCDEF
C: #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x4 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether
I: If#=0x5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
The purpose of each TTY is as follows:
* ttyUSB0: DIAG/QCDM port.
* ttyUSB1: GNSS data.
* ttyUSB2: AT-capable port (control).
* ttyUSB3: AT-capable port (data).
In the secondary layout with PID=0x9206 (AT+CUSBSELNV=86) the module
exposes 6 TTY ports:
T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 8 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=02(commc) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1e0e ProdID=9206 Rev=00.00
S: Manufacturer=SimTech, Incorporated
S: Product=SimTech SIM7080
S: SerialNumber=1234567890ABCDEF
C: #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
The purpose of each TTY is as follows:
* ttyUSB0: DIAG/QCDM port.
* ttyUSB1: GNSS data.
* ttyUSB2: AT-capable port (control).
* ttyUSB3: QFLOG interface.
* ttyUSB4: DAM interface.
* ttyUSB5: AT-capable port (data).
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-17 13:47:56 +02:00
..
2019-04-26 08:37:53 +02:00
2019-06-20 14:28:36 +02:00
2019-06-20 14:28:36 +02:00
2020-07-22 09:33:10 +02:00
2018-12-05 11:29:10 +01:00
2020-08-19 08:16:23 +02:00
2020-07-22 09:33:10 +02:00
2020-07-22 09:33:10 +02:00
2019-04-21 14:24:12 +02:00
2019-06-20 14:28:36 +02:00
2019-05-03 09:19:55 +02:00
2018-11-20 18:25:44 +01:00
2020-09-17 13:47:55 +02:00
2020-09-17 13:47:55 +02:00
2020-05-14 07:58:25 +02:00
2019-04-30 10:25:04 +02:00
2020-04-01 11:02:15 +02:00
2018-10-13 00:50:38 -04:00
2020-02-01 09:34:32 +00:00
2020-08-19 08:16:14 +02:00
2019-06-20 14:28:36 +02:00
2019-06-20 14:28:36 +02:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2019-01-18 11:09:32 +01:00
2020-01-23 08:22:34 +01:00
2019-11-29 10:10:26 +01:00
2019-11-29 10:10:27 +01:00
2019-06-20 14:28:36 +02:00
2020-01-23 08:22:34 +01:00
2020-09-17 13:47:56 +02:00
2019-06-20 14:28:36 +02:00
2020-03-25 08:25:50 +01:00
2020-03-25 08:25:50 +01:00
2020-08-11 15:33:32 +02:00
2020-01-23 08:22:35 +01:00
2019-04-26 08:38:02 +02:00
2018-10-13 00:50:41 -04:00
2019-10-16 10:29:23 +02:00
2020-06-10 20:24:55 +02:00
2020-01-23 08:22:33 +01:00
2020-01-23 08:22:34 +01:00
2020-01-14 20:08:30 +01:00
2019-06-20 14:28:36 +02:00
2019-06-20 14:28:36 +02:00
2019-10-30 10:06:32 +01:00
2019-10-30 10:06:32 +01:00