Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp627109imu; Fri, 11 Jan 2019 06:25:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN4rrTDsTXr/+LiynxIUaYrWMfFm0JApC6E/tXbw6GUtoJutO5AIF31/E+tw9tG14+3tbnV0 X-Received: by 2002:a17:902:4d46:: with SMTP id o6mr14200986plh.302.1547216755202; Fri, 11 Jan 2019 06:25:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547216755; cv=none; d=google.com; s=arc-20160816; b=x9JbK58ZFP0BD1PoOLHM51ix3FdzCKoLuwmf0tsMx799xjQdL3QcagUVythnZ2PYRB ZSpc5HxwyGp8ruJMe4vsL57fQKZdElVxmo0N4XkZhOwZEk0W6UlPmUWSLiECWYU3oAJ2 aDg7oRdiU2B/jRTAqMxLlbRruj+dlk8SPhk155PexHU0WzaY/DNLnV0X+QC+EOwQwlBM 9vVTbfaeaWAQaC2QKMzvfDM82iTPCXGdl/walnSngGfViguQUS9Ueh9Iow/LiXgtj3It ytogpCqtt3Yl/zpfO2EG9WO7mCHhw1Jh+QQzyhdpSz/2/zVKmXeogHKcuUOrQZuq5/5i jsqw== 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=zZU7u0wdLGxbD8jefBfKgxhV3AvQ9hN603oeofDFass=; b=TNTgDhzj+FxWKUg1DuvH6y8QDP9kNlB42Ph2z8PG2RyccNAY28zvj7gvX3K9TV43Ro S3iwR8P7vpC7FrUbjKXiCMCEiA3unWOF4ot0EkomGFuoop8uoLkSRqf7OoEMFsu9pL09 uNFbKc7zvAthv9cevbhmS9F33GPBW2yiKvu3+Po/7vYtMAId5WW6cMctzTom50W9hnPu k9sSqzMw5+NQdu3XiV89n8e1r7SwM4GCd0Xzw6tRuc5QzaP4lu1vS/ND651VCHU+i8ZB HTiHeyFKHQ485SwfQGyDj4arZo98kptyzehziu0WU3M7w49v3tK8wpKuTeM7VT9ODzXU LKBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="D/K/Bja+"; 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 w7si58132353pfw.200.2019.01.11.06.25.39; Fri, 11 Jan 2019 06:25:55 -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="D/K/Bja+"; 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 S1731860AbfAKOSa (ORCPT + 99 others); Fri, 11 Jan 2019 09:18:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:34890 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728270AbfAKOSY (ORCPT ); Fri, 11 Jan 2019 09:18:24 -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 7D30B2183F; Fri, 11 Jan 2019 14:18:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547216304; bh=Gxz9wuWKuWT6VUNj27gPGhnmhSDNe0NdKZbPaE04n30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D/K/Bja+UMUYQyCWghRruLj8wOouRWpAmOOuD7qptv5fn/iasML8xx3S5jTlKx1aT dRuBvAdC/QEdAqeBd2Rz+NM9UHA/MjgIOIena9sIZp4s7KEwYXBgw5upJ5l7x3g3PS vkuSK551p7RiH2oARBBLiDUvRozV0MlpI4SHfKC0= 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 06/88] USB: serial: option: add Fibocom NL668 series Date: Fri, 11 Jan 2019 15:07:35 +0100 Message-Id: <20190111131047.260749095@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 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 @@ -1950,6 +1950,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);