Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6006902ybc; Wed, 27 Nov 2019 13:17:06 -0800 (PST) X-Google-Smtp-Source: APXvYqy+cmNvlUDrqryJgd3c9harE97S9XdMGfchZl7X3m641q6UX+EA7CHApQerYBXzXDQt4MPE X-Received: by 2002:a17:906:e94:: with SMTP id p20mr4385004ejf.57.1574889426667; Wed, 27 Nov 2019 13:17:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574889426; cv=none; d=google.com; s=arc-20160816; b=DY62/EimUoWobPPIM1GeRrvSrEYl03Y+qac2BaZHVOFrYTHycK2cBCJxzp3/QrJbDn VLGI4YxAA52EVXc8nRlFYCBpwkgLfvchDEA17/IeQICR9E6rTM82BbSdveuGpII8b75m /nK68ffe4XAcSAckHhxcCprCtDZ/RRcvDMWd8sEk7IlWV3yQyTIYje1AX5YLsKKxdjxH jW/ng4GtJKRylvsWlIdbgNyYuD1L87kNXIE7f5U4BJGOWaIdaTQlAS8kt5V8EehAxAcT auRhO8CsTn/8KXdvUzNyHDaARVmF9tU/LvH0nafECYOmgrwBX/Rl++7T1iitoh5FEOaV k37A== 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=ySXUx9fDHg6M8RtidN3+/eZZOVAxFS0WNy/qZR/H2AvTuZBXtQl3OCyG45KSnRODC9 55PDS9yMrqnBDRb8mMA4txmxPYTUzhvt/UW9p5JAsyoleB+j54kReE3zwptxTEnyE5s6 WJVRXDSQJ1Akv8n6V1m2BxJsYrGsEtWqB6J1ThGxHu7UZJeVTy3oXDyKXb+sfUhIp3fH 1RFJbQ7adrOzBpU+rqc3pj/KD87e4LEkWCCosos2V+eu5ONNezlzEwHtvSUnwgdxNKVt 7cxKOSMT2km4yWV+S6XDrrKnJZUj8PzimbGAW+IFkLe0oxmLPdCLQYD9DLHEp2JAplZi cGfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c+Or1Jwd; 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 b29si12196593ede.118.2019.11.27.13.16.42; Wed, 27 Nov 2019 13:17:06 -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=c+Or1Jwd; 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 S1733278AbfK0VM1 (ORCPT + 99 others); Wed, 27 Nov 2019 16:12:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:42712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732637AbfK0VMS (ORCPT ); Wed, 27 Nov 2019 16:12:18 -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 B39A2215E5; Wed, 27 Nov 2019 21:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574889138; bh=F2JsfBtc2GSihRVgSKDuj9dNn5knM3fBq6e/3aibmxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c+Or1JwddKRK3h6tCuWCtu3Ootwow4JPUJPZ/ca8ICeFK9FE79KJUJlTZJMLZ1lxy XNlzxfN2Gsa27+MDAa//bKqcpGBvRGmNqwBCfqYYfrBbZY/hjVCUJKwds4xDReByE7 V3k1VtMzp+3B8v/L/77z6DGT7C8oXXkWCZYZXjbo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Aleksander Morgado , Johan Hovold Subject: [PATCH 5.3 91/95] USB: serial: option: add support for Foxconn T77W968 LTE modules Date: Wed, 27 Nov 2019 21:32:48 +0100 Message-Id: <20191127202959.648010376@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127202845.651587549@linuxfoundation.org> References: <20191127202845.651587549@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 */