Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp850823imu; Fri, 11 Jan 2019 10:07:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN7BKOIfXCb8mtMpL4MYs9RccJO/+YaNFLrNa93dC1wnNfHtBQceVuC54+SW1kQElUUT5Pmu X-Received: by 2002:a63:ec13:: with SMTP id j19mr14158506pgh.6.1547230046964; Fri, 11 Jan 2019 10:07:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547230046; cv=none; d=google.com; s=arc-20160816; b=Hq2Z/eKNWRzIOSnsjfKIMsVTQub/dhCOVAuIYM5qtHVIo+LL/JKPKesYR3ONVavQ4P ctEJvB7biwRAW4tXuU7o45YtY2KItvoxG3SPH7A5yhJI8XJbhHNnpLukMDJki8iUs5sB DVqOLdZ/0e6MHiTic3IByV+vihmCrxitUHmnljSurHEP/XGzZPdXMyuHuszgl23lC+ym AKslm2RsheA8wR9FR7u0NfTdKyrcC+xouH7bkFO3R3pPVlG4161Yh1xV+n+yywEwX0uo BN71v2s4gx/hRnoj9zAPQCr45MXYA8YawP5aI7mrI1XEEPJJTfGfBR82W4JOz8HhbrfS UNVQ== 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=SD39c5B/DnXRMUvL6DNFST6Uy1L1Oca1WI1UOZnpaJg=; b=H1lCUwBC+rkSmYYi9FmFvB+z3mrOvchzckvSC1x8gs3uEG4I76ufDrYX9zrr3NSbMN IHWeCvOvOTuin4GrbLsSNDdPDb9qJXcBS8wUUmSMTBIyB64Sw/vmYansQ0XUxxZ/lZcf 7mKlMMQzYIYuTf1KGpoP6OLVRmjMn6++IxT189yHtkXO6p7ER1BxxM5hRuH12sKSL6gn QwKvjTo9F12izHL0pnepmLoNvP7Wfa+ctUb8WZmYkcBfnjrv/z6AQw/+Smazw6xiVxvR KqrddSZAyWN/DnEF2dw5R6foShOLYeJ0XwRDn0u1bjXmorjWr/68brBkStjCiZPnS2qa 6IXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jSi8Ti8U; 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 v25si71246630pgk.341.2019.01.11.10.07.11; Fri, 11 Jan 2019 10:07:26 -0800 (PST) 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=jSi8Ti8U; 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 S1729878AbfAKOR5 (ORCPT + 99 others); Fri, 11 Jan 2019 09:17:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:34300 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387922AbfAKORx (ORCPT ); Fri, 11 Jan 2019 09:17:53 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 4921D2177B; Fri, 11 Jan 2019 14:17:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547216272; bh=HKG6I+tfqY5R8UzjxdRvuIito4EAKgyu13iB/wZsqKA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jSi8Ti8UgGtU5F+nh1JfOmVDB5PhsWnZNnXxmv3VpZDgigQgLOxXg9rKqCqe/ZaLE 6XOOT5H2A+4Ii9eMNGITqO/bpSaZHgK1Z6MykuP1F62DbQ0wF06wnnJiIBDXBm5G0t FkjDFSx++H01ACxzkJlfUthuTjc6mBScKxF3Udag= 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 4.4 37/88] USB: serial: option: add Fibocom NL678 series Date: Fri, 11 Jan 2019 15:08:06 +0100 Message-Id: <20190111131051.401882040@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190111131045.137499039@linuxfoundation.org> References: <20190111131045.137499039@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jörgen Storvist commit 4b2c01ad902ec02fa962b233decd2f14be3714ba upstream. Added USB serial option driver support for Fibocom NL678 series cellular module: VID 2cb7 and PIDs 0x0104 and 0x0105. Reserved network and ADB interfaces. T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2cb7 ProdID=0104 Rev=03.10 S: Manufacturer=Fibocom S: Product=Fibocom NL678-E Modem S: SerialNumber=12345678 C: #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option 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=ff Prot=ff Driver=qmi_wwan I: If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2cb7 ProdID=0105 Rev=03.10 S: Manufacturer=Fibocom S: Product=Fibocom NL678-E Modem S: SerialNumber=12345678 C: #Ifs= 7 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option 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= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether I: If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether I: If#= 6 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) Signed-off-by: Jörgen Storvist Cc: stable Acked-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1956,6 +1956,10 @@ static const struct usb_device_id option { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0xa31d, 0xff, 0x06, 0x1b) }, { USB_DEVICE(0x1508, 0x1001), /* Fibocom NL668 */ .driver_info = RSVD(4) | RSVD(5) | RSVD(6) }, + { USB_DEVICE(0x2cb7, 0x0104), /* Fibocom NL678 series */ + .driver_info = RSVD(4) | RSVD(5) }, + { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0105, 0xff), /* Fibocom NL678 series */ + .driver_info = RSVD(6) }, { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, option_ids);