Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3010152ybi; Mon, 17 Jun 2019 14:36:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeIuLggl+KIYh4poM45IBT/g/O7gTCsehaibLSHdoGPbHv1X3v7mRmP+2RSz+lVVOmKKft X-Received: by 2002:a17:902:4c:: with SMTP id 70mr85058298pla.308.1560807415232; Mon, 17 Jun 2019 14:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560807415; cv=none; d=google.com; s=arc-20160816; b=yQPCsmQK/ketBbV7f747lqbHyKaaHshTDJ9JJeVsAKD5e+fOWYojBBPwZcJKG3uG1S rJSbTUBx0m8A8Ht8DrmE7sLfbIjKeql3v3ENRQ1JgeNVEPnICsnkRfpmF6+PsIbRVcvY aUQGqH4WruQmtXsizPgawsxe1F3nkTRibZyvrDhZbVGW/5h/KRSj3z8OtaGSQHgYsewu 7vx1FvTCxOtPsktznbFo9kLqPEbXbge0T44rrJfww+bponX35qlb9RESWi8ukGVRPKSW eLBQew+UlLGo1xkgHRDZJynice/0STm0KIgIOIgePMnWd7dk1K0mQW6E68Iej4XVCm05 xwhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=sxpuQJ68KvHYtRL+1DmV2GB+cb+RSY/6/o9rbogZOes=; b=tfDi1+7jlPp+ZqKHLCUJVnUWRHPZZpbc/op2rjHYkEBj6BkoO0NJxZq13eHjBU1Zc0 MfFqVNLjrxxAAKCNZzX/VFXWb+Dss4B365glxhXqVHwBm1icmXSsid8Usl89dKwVkqnM I1NKHJ2xNy4hwyBUNEoUThdjbuzICSULhdskEcggG7+jt29qgkTbODvsUtrLh/3YEUx9 19Pv/3DtbrHd6XU1Hatqg6G5INIwqHXCBkU1TFITBOOtCKVbkwozmdfEHnRXQw73KRG+ 7umpYY+xBy/H1Z+ZeLPSl8QXl0T2lj1vb2EvIjpVEde1Y5YuFbJr2oRG1Z0V3iI8BkVg klug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZrCD3HK7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4si11596083pgv.195.2019.06.17.14.36.39; Mon, 17 Jun 2019 14:36:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZrCD3HK7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729648AbfFQVXD (ORCPT + 99 others); Mon, 17 Jun 2019 17:23:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:47906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729232AbfFQVXB (ORCPT ); Mon, 17 Jun 2019 17:23:01 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C411420B1F; Mon, 17 Jun 2019 21:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560806580; bh=FeheFKigpxGw75v9GJh3ld5FsQx3jZkBdirXQYlwRdI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZrCD3HK72f9QcyAdvQoLAljwSLlhlF1UDpo/TWvqKxQdBI5+NY/VHadW4woEQ4gPH w5wyUypHzeDbFSCoK8aY3zrND0vHE75WM48WeUyIrspvwDtHvTOkVp6OS7z0pSpI6u H5U6vzN1t0cDGxn4UEQuyNalUM9JkFNhB7Q/sIck= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?J=C3=B6rgen=20Storvist?= , Johan Hovold Subject: [PATCH 5.1 102/115] USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode Date: Mon, 17 Jun 2019 23:10:02 +0200 Message-Id: <20190617210805.268780293@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190617210759.929316339@linuxfoundation.org> References: <20190617210759.929316339@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jörgen Storvist commit 5417a7e482962952e622eabd60cd3600dd65dedf upstream. 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 Cc: stable Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1772,6 +1772,8 @@ static const struct usb_device_id option { 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),