Home Home > GIT Browse > SLE15
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-06-24 12:07:35 +0200
committerTakashi Iwai <tiwai@suse.de>2019-06-24 12:07:48 +0200
commit771c49f9ccf6d1e77b6ca06896a21cf706340c95 (patch)
treee6eaa2f35a1e135e76b506c7c1d8052bcab69c2f
parent4c7a9a8a1955e739c7312e89eebe87ae8579cabe (diff)
USB: serial: option: add support for Simcom SIM7500/SIM7600
RNDIS mode (bsc#1051510).
-rw-r--r--patches.drivers/USB-serial-option-add-support-for-Simcom-SIM7500-SIM.patch55
-rw-r--r--series.conf1
2 files changed, 56 insertions, 0 deletions
diff --git a/patches.drivers/USB-serial-option-add-support-for-Simcom-SIM7500-SIM.patch b/patches.drivers/USB-serial-option-add-support-for-Simcom-SIM7500-SIM.patch
new file mode 100644
index 0000000000..9b5781c45c
--- /dev/null
+++ b/patches.drivers/USB-serial-option-add-support-for-Simcom-SIM7500-SIM.patch
@@ -0,0 +1,55 @@
+From 5417a7e482962952e622eabd60cd3600dd65dedf Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rgen=20Storvist?= <jorgen.storvist@gmail.com>
+Date: Mon, 13 May 2019 18:37:52 +0200
+Subject: [PATCH] USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode
+Mime-version: 1.0
+Content-type: text/plain; charset=UTF-8
+Content-transfer-encoding: 8bit
+Git-commit: 5417a7e482962952e622eabd60cd3600dd65dedf
+Patch-mainline: v5.2-rc5
+References: bsc#1051510
+
+Added IDs for Simcom SIM7500/SIM7600 series cellular module in RNDIS
+mode. Reserved the interface for ADB.
+
+T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 7 Spd=480 MxCh= 0
+D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
+P: Vendor=1e0e ProdID=9011 Rev=03.18
+S: Manufacturer=SimTech, Incorporated
+S: Product=SimTech, Incorporated
+S: SerialNumber=0123456789ABCDEF
+C: #Ifs= 8 Cfg#= 1 Atr=a0 MxPwr=500mA
+I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=ff Driver=rndis_host
+I: If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
+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=00 Prot=00 Driver=option
+I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
+I: If#=0x5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
+I: If#=0x6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
+I: If#=0x7 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
+
+Signed-off-by: J├Ârgen Storvist <jorgen.storvist@gmail.com>
+Cc: stable <stable@vger.kernel.org>
+Signed-off-by: Johan Hovold <johan@kernel.org>
+Acked-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ drivers/usb/serial/option.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
+index 83869065b802..100a5c0ec3e7 100644
+--- a/drivers/usb/serial/option.c
++++ b/drivers/usb/serial/option.c
+@@ -1772,6 +1772,8 @@ static const struct usb_device_id option_ids[] = {
+ { USB_DEVICE(ALINK_VENDOR_ID, SIMCOM_PRODUCT_SIM7100E),
+ .driver_info = RSVD(5) | RSVD(6) },
+ { USB_DEVICE_INTERFACE_CLASS(0x1e0e, 0x9003, 0xff) }, /* Simcom SIM7500/SIM7600 MBIM mode */
++ { USB_DEVICE_INTERFACE_CLASS(0x1e0e, 0x9011, 0xff), /* Simcom SIM7500/SIM7600 RNDIS mode */
++ .driver_info = RSVD(7) },
+ { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S_X200),
+ .driver_info = NCTRL(0) | NCTRL(1) | RSVD(4) },
+ { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220_X500D),
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index bdea2c299f..b7d90b7f62 100644
--- a/series.conf
+++ b/series.conf
@@ -22601,6 +22601,7 @@
patches.drivers/USB-usb-storage-Add-new-ID-to-ums-realtek.patch
patches.drivers/USB-Fix-chipmunk-like-voice-when-using-Logitech-C270.patch
patches.drivers/usb-dwc2-Fix-DMA-cache-alignment-issues.patch
+ patches.drivers/USB-serial-option-add-support-for-Simcom-SIM7500-SIM.patch
patches.drivers/platform-x86-mlx-platform-Fix-parent-device-in-i2c-m.patch
patches.drivers/ras-cec-fix-binary-search-function.patch
patches.drivers/ras-cec-convert-the-timer-callback-to-a-workqueue.patch