Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1342770ybp; Thu, 17 Oct 2019 11:20:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNYT/6Vx8zopQ9WUsT/NxynGMK2Hxq08HnYiXAsudwj0eTesILtIN3IlFbzJsXmL3Qob/C X-Received: by 2002:a50:fd16:: with SMTP id i22mr5228154eds.154.1571336408304; Thu, 17 Oct 2019 11:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571336408; cv=none; d=google.com; s=arc-20160816; b=X1Fj9cs6iOJg3gdnrjQa67/vr+eOlry0/gB5FKLLqVUUTUNAIlGQE3RcRXWQ+Q+YX2 LChrHSGYupsaSvfJV7l5v1lUTBighdepagnPD5Y5qN9kmonKzQwxpHXIkZtPqo336tV2 2kD92gCz6bmnlVbrPmVmYRpYyIw+dPMhxmPlt0OBzyBqs118PNlbLAmFdmUXs7gyF3Ke DjoAkE1MpW/oozMPuF0EOVs45uqtimzucmwkuOLQKo2w6o84zYftg5xI0dq34dvdIs6W Pxa64t3iHa480Evw9jOBG3+EhkTCPTxwmgu/kAM09Ym1Ex1t9f907uQfQ/obZHns43Y1 KyfQ== 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=oCZmhh69L8VDOom0P7n/YtBQ4Pj3ervha/JSsZRHRgY=; b=T0Lj3ml0Wp5nLRUa4AtPOTaSsODVA0H5zIa+k3vqBbfWxxaVEIBQo52xaw+uzuXq9t WPKIIriqwmyHbGRRA+6MY9UjoQxFXgxEAtV1F0hGXCQG+x4luU7Xc73VAsNadlCiIN3d sN6nHhHiT5hL4fcjlWaVcNF6PEJj40Fj4CWLVOM4/Bcm4jTuhKoyQeBt8h8VTUXFEiLX HLgjSQFdOB9l+4h6zUYavkOKTHQkm2BBuF5r4Q4Xb70OgFLD9n2sWhQAlzFCpkDx6Rnr s+0K0adlwvKhFmt0KhDtn4cKd3typMyE5YZfnEJ2yfwF321rLbXi5xabAZhYafWFoQOP 9KdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CXQ+AJb6; 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 20si1970078ejv.342.2019.10.17.11.19.45; Thu, 17 Oct 2019 11:20:08 -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=CXQ+AJb6; 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 S2438719AbfJPWAK (ORCPT + 99 others); Wed, 16 Oct 2019 18:00:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:53496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438401AbfJPV7H (ORCPT ); Wed, 16 Oct 2019 17:59:07 -0400 Received: from localhost (unknown [192.55.54.58]) (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 1AD6B21D80; Wed, 16 Oct 2019 21:59:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571263147; bh=Bz5u3wlAT5/Ku/jxzSaX7pLfTV0CjBM4TdeuqkeqQnk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CXQ+AJb6yNoDfD8jjIzO+wTH4veJu02zUD7FU+a35Z26xiX5lHWsWJh5h7KAjHFIn EW5jDdmAQuR4ewhcn2cClp07FPI4wtLp0torNBPTtYDhvkkHtD28iwEWmgf7CYIrVG KnJ2ebgr1eCHu5r+LcpHvG1oAG7kLZ1lkurWKgBw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Reinhard Speyerer , Johan Hovold Subject: [PATCH 5.3 029/112] USB: serial: option: add support for Cinterion CLS8 devices Date: Wed, 16 Oct 2019 14:50:21 -0700 Message-Id: <20191016214852.919058996@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191016214844.038848564@linuxfoundation.org> References: <20191016214844.038848564@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: Reinhard Speyerer commit dfbac2f4da6a0c4a8f6b4d715a4077a7b8df53ad upstream. Add support for the serial ports of Cinterion CLS8 devices. T: Bus=01 Lev=03 Prnt=05 Port=01 Cnt=02 Dev#= 25 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1e2d ProdID=00b0 Rev= 3.18 S: Manufacturer=GEMALTO S: Product=USB Modem C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 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= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 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= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=89(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms Signed-off-by: Reinhard Speyerer Cc: stable Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -419,6 +419,7 @@ static void option_instat_callback(struc #define CINTERION_PRODUCT_PH8_AUDIO 0x0083 #define CINTERION_PRODUCT_AHXX_2RMNET 0x0084 #define CINTERION_PRODUCT_AHXX_AUDIO 0x0085 +#define CINTERION_PRODUCT_CLS8 0x00b0 /* Olivetti products */ #define OLIVETTI_VENDOR_ID 0x0b3c @@ -1855,6 +1856,8 @@ static const struct usb_device_id option .driver_info = RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_AHXX_2RMNET, 0xff) }, { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_AHXX_AUDIO, 0xff) }, + { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_CLS8, 0xff), + .driver_info = RSVD(0) | RSVD(4) }, { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_HC28_MDM) }, { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_HC28_MDMNET) }, { USB_DEVICE(SIEMENS_VENDOR_ID, CINTERION_PRODUCT_HC25_MDM) },