Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6001545ybc; Wed, 27 Nov 2019 13:11:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzt+7YfW64nmIzIfzhG2lgt9+YsuSPuSWG8SbADIytyXbSZ6NdJJh+5XMcTSxi0j0rSDZmD X-Received: by 2002:a17:906:3602:: with SMTP id q2mr14974653ejb.167.1574889111517; Wed, 27 Nov 2019 13:11:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574889111; cv=none; d=google.com; s=arc-20160816; b=jImiVTpubiGgNH0hOpLcA7Sr1+13qsbUvqvLWqZSDSZFeX6tKaaIYmMCqL0+wbl9Xy vVb/O8EgGs7+f8g5MuMRmjVy/fWZyRvvv/7o5UBEuwP5EMWz+3bgdx6t2GLMkC55F4ju iJ+BMbuzGxvuKGEjh7v/ota4t2i73yArMoubGW0wBhhUYtfCNP5fCvWCNDuN4raHBHmx Bu0zxT2BrAMSFtpJ4aSNQu9JuchkUcakbKi8uFwMUR7rKpgo0xmmmhBrrQOoKphUmFAS OFf+KosQBw+UtA+kpbIJk4GXB2pLqB+Un/sQmYRR8/y5Q+eceRtX5RSlo8t2es7XX0D9 CvpA== 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=yo7M0VO40udgmCjR3fITnvex2V9mk1mMm8SxWghnZqA=; b=jkV1prX9qxICAqfIgEhFxR2YMy67lhmSFXFAkQ+7LIxI/begvh+RtRJbLIWkhI6J6Y 40mtR0E342U/yF67njJhZJHNt04ZCQHG3rDhvX793eOACfmUUXBotzBmAkfSyFEkNW5+ c+lPCVcAVyzkmiX+iYG4FC3fJ5nJOD8uB2dwTr/Q1EJHhMXksv9pFXD5HK+pkDPl0g7A 4ixF3PkGRlg4zCstRYGiVu3/BKzmiCXnuHu3j2YqcExVqTgzQ9dtnyUoG5/qHh8Lp7tS VxSMpdsLAUiRwkJuuHHo1XKIlmtDtPf1ohTKgraPNfeE0pJ9SNbQF39NfD2zQyNp+Jtr gIuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0O4gE6QY; 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 a21si3205908eds.231.2019.11.27.13.11.28; Wed, 27 Nov 2019 13:11:51 -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=0O4gE6QY; 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 S1732665AbfK0VHy (ORCPT + 99 others); Wed, 27 Nov 2019 16:07:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:34118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732659AbfK0VHv (ORCPT ); Wed, 27 Nov 2019 16:07:51 -0500 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 C9F7E2176D; Wed, 27 Nov 2019 21:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574888871; bh=F2JsfBtc2GSihRVgSKDuj9dNn5knM3fBq6e/3aibmxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0O4gE6QYXsU3momygNLewikejizIUYfzlZClK6Hcv39cW2/wkPf8SM3q8tw5m2AI/ c+7YJtf88yyuX0t3cHIMQt4/FCwTgWFW1RONtaWjsZTqgrLn5OgHll4qdG1yTUJaCH kFnKYW2spEpQD+cMeTonSFgFucV8u86P1XY6t3pY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Aleksander Morgado , Johan Hovold Subject: [PATCH 4.19 302/306] USB: serial: option: add support for Foxconn T77W968 LTE modules Date: Wed, 27 Nov 2019 21:32:32 +0100 Message-Id: <20191127203136.793964103@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127203114.766709977@linuxfoundation.org> References: <20191127203114.766709977@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: Aleksander Morgado commit f0797095423e6ea3b4be61134ee353c7f504d440 upstream. These are the Foxconn-branded variants of the Dell DW5821e modules, same USB layout as those. The device exposes AT, NMEA and DIAG ports in both USB configurations. P: Vendor=0489 ProdID=e0b4 Rev=03.18 S: Manufacturer=FII S: Product=T77W968 LTE S: SerialNumber=0123456789ABCDEF C: #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan I: If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 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= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option P: Vendor=0489 ProdID=e0b4 Rev=03.18 S: Manufacturer=FII S: Product=T77W968 LTE S: SerialNumber=0123456789ABCDEF C: #Ifs= 7 Cfg#= 2 Atr=a0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim I: If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 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= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option I: If#=0x6 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) Signed-off-by: Aleksander Morgado [ johan: drop id defines ] Cc: stable Signed-off-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 @@ -1993,6 +1993,10 @@ 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(0x0489, 0xe0b4), /* Foxconn T77W968 */ + .driver_info = RSVD(0) | RSVD(1) | RSVD(6) }, + { USB_DEVICE(0x0489, 0xe0b5), /* Foxconn T77W968 ESIM */ + .driver_info = RSVD(0) | RSVD(1) | RSVD(6) }, { USB_DEVICE(0x1508, 0x1001), /* Fibocom NL668 */ .driver_info = RSVD(4) | RSVD(5) | RSVD(6) }, { USB_DEVICE(0x2cb7, 0x0104), /* Fibocom NL678 series */