Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8398507imu; Fri, 28 Dec 2018 17:32:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN5xV01R66uZBEibU2t/C55EzTy+xzHiCmqeV1U9tA31ekktYudzHH+5MeIoi0zC36j9w5/9 X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr17024718plb.70.1546047120499; Fri, 28 Dec 2018 17:32:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546047120; cv=none; d=google.com; s=arc-20160816; b=qtGnppvQ8Xkha8N3lIElzmXZKw/vyzpk2xHcfxvSsrsDc9Uc0A4qwTxWbPifEbkJ4J GQyTCOZ22cLfpM8tWg7mZlVkliX7UgNSC5lEHh0gGz618bqNMJCni6AlXgUrqkUxheTQ BD6znTSZ1eP08f8Y/feEYcqsCJRJLk8cDuzmce/pPIs0KVL1xPKw2GXIB6nugY+sWbU1 E0RpR10QnaQumFvCaIrbkrAsfqLD9Zmf40mNF0k0+sBNztKtW7+WhLTKLYeS5/Q/2oVf 4fHLgCzDbrT4vfo5Ipd7UQE35SvX03wqeCo7a30z7jAVZVZeZaY9qXKsBpJP6qFlmd+Z 2/pg== 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=NMxkG8geh8FIEttRHXT4yNuE78i6dv8vizH8ldayR+Y=; b=lsVcDA9V+Qf2H7YRTCeOAd1aOa1DAT3my1IshhfIIo/EJ2U08veyQQY7rCrjLeofMu u0hf56xmcf1b7nfDjVbvmYHj535t1+RpJewieQ2jpTCJY2FwrYw2i+lJZw6Ldeyk2M5L Kfj+PFCCRhVdwdsz15+VbY+OEVFwABr3TySFergeL4k27aSS4bX3ech+CpqMvNTabv4a 7kry94ZISoVz35G1prNlOqtdTK6dtvYmj7k22/fqHeoTNcIIsTIFy8apPvVVmjDGV1mH 3fan/YXN99/WB3bt0U4xC0ym2zoy7CIjBP+bG1DILw8AX0mxVY68Qzorp3VOP3VFWJEc QrZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hzwLW5RY; 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 s13si39054853pgh.583.2018.12.28.17.31.08; Fri, 28 Dec 2018 17:32:00 -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=hzwLW5RY; 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 S1731446AbeL1MWt (ORCPT + 99 others); Fri, 28 Dec 2018 07:22:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:34178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731421AbeL1MPL (ORCPT ); Fri, 28 Dec 2018 07:15:11 -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 D5E6C2087F; Fri, 28 Dec 2018 12:15:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545999310; bh=ctj6Eh9IIsiuyk8qk+7IEznBK7ZT7RW7z9w67xP/25w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hzwLW5RYC5VMQ/U8s6XGKYojIsOmSm2PHFwvfw5IuxbyTU2qE8pVKH4x0dPDJBGQz vN/tLMf99EtpyOvSvIhpirpVMlOYgcjm6vGAaYge6g9LqqSYEYS+Sp5PZjJfD6hSie /jo0KmAhyj0bJ1t2ATktOCDAqa7mcaJDr32O2mgU= 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.19 09/46] USB: serial: option: add Fibocom NL668 series Date: Fri, 28 Dec 2018 12:52:03 +0100 Message-Id: <20181228113125.356932332@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181228113124.971620049@linuxfoundation.org> References: <20181228113124.971620049@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.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jörgen Storvist commit 30360224441ce89a98ed627861e735beb4010775 upstream. Added USB serial option driver support for Fibocom NL668 series cellular modules. Reserved USB endpoints 4, 5 and 6 for network + ADB interfaces. usb-devices output (QMI mode) T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 16 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1508 ProdID=1001 Rev=03.18 S: Manufacturer=Nodecom NL668 Modem S: Product=Nodecom NL668-CN Modem S: SerialNumber= 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) usb-devices output (ECM mode) T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 17 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1508 ProdID=1001 Rev=03.18 S: Manufacturer=Nodecom NL668 Modem S: Product=Nodecom NL668-CN Modem S: SerialNumber= 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 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 @@ -1949,6 +1949,8 @@ static const struct usb_device_id option { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0xa31d, 0xff, 0x06, 0x13) }, { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0xa31d, 0xff, 0x06, 0x14) }, { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0xa31d, 0xff, 0x06, 0x1b) }, + { USB_DEVICE(0x1508, 0x1001), /* Fibocom NL668 */ + .driver_info = RSVD(4) | RSVD(5) | RSVD(6) }, { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, option_ids);