Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2814585pxb; Mon, 11 Jan 2021 22:02:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJylf15hO18fqkC2zumlBixvWO3UkglO1x18Q3NUhFRvwGN+a0+Qh6OyJ59wvQwA5nGRyz9W X-Received: by 2002:a50:d491:: with SMTP id s17mr2026849edi.169.1610431369819; Mon, 11 Jan 2021 22:02:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610431369; cv=none; d=google.com; s=arc-20160816; b=KVDDKc6fQ/Yg0YsNY/4ZXv5XEQbgbolXTiiXScgMcZbD+77joOezVOMjMPpmFuZV1j EqnmbIP/5RypS7OjgMWOOkHKz+0YUiYPwS2r3rtSQDx05wUbvLA1QtlhONPw/5y7D/CE UVNRr2EuLdmgahWuxWhinI2E43Qm3y1Pwvlf23Q+9dgh2h27Jr0tKtT1+nVWQtOLtQmn F4PpZ6BBEh+YYUv5Y70XF82QLZhisi3Yo2Leu7qA3eN2N8p7K5UEZTq1Gl+L1Iz9xJKd RHqRRMBeeJ7LRYJcGtlxstv5ha1GXiwEuo9K/8wQTRAWvA7KXm5KKrXc1gJ0frHPVSd2 lGKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=o90q2I2iv0wZEHsejDq6BOVBWPAu2TZFB9zKFfYfzDQ=; b=m1AQ+ww29pHkbLTcQyT3U1D1OM2o3ncd12VUTPW0e4K61kiyq/8SOkTll5wJ974xaA HaKpwqDHg4MA3BA2mDQJebmJ8Vx5Ug7q0aS2v/LN0C9mgKXCPwjQ6z6vx5Mf8agSQ14J MwxQsutPh6RCweneAEnhfyELWimGcxqFwgnJasR0sMsy7oFj60nDFcsgcFYedJhynOZ4 /xgqb+Rfw/oP8mgA1M+R0d6yVAGu5CmJ2WOPDltcaZ3ofY0khB8RbEJMeyyZwz/iorxs qc0QKQzJXYr2Yak1dA5M+Pu152G37xVrTRe8NnLe5pYuBq4Niz0eW5IU8cvsrVMfITNC m+VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="xk17Y/ml"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l27si705900ejc.418.2021.01.11.22.02.26; Mon, 11 Jan 2021 22:02:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="xk17Y/ml"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733085AbhAKNhq (ORCPT + 99 others); Mon, 11 Jan 2021 08:37:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:59946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731768AbhAKNNR (ORCPT ); Mon, 11 Jan 2021 08:13:17 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0B465227C3; Mon, 11 Jan 2021 13:13:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370781; bh=+6pb8yRuN6V+nCW5kpXkVhfOZg6PyGeOad7faSLloxM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xk17Y/ml7lOtiljICNV7ykAZW8iuYQsNM5s0wJLeWHeA3osLDtsa1jjE1xvS5oJgt tTpw04WywjBPZIQhFeVhawvrBwSdxorGfriil1iDrDmvAuih1fqJnxbl3MoUFizpq4 8xBcwCNpWWEfXwDURfRi0SKEoV+3fBhjVGUCM3mc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Bj=C3=B8rn=20Mork?= , Johan Hovold Subject: [PATCH 5.4 63/92] USB: serial: option: add Quectel EM160R-GL Date: Mon, 11 Jan 2021 14:02:07 +0100 Message-Id: <20210111130042.187990170@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130039.165470698@linuxfoundation.org> References: <20210111130039.165470698@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjørn Mork commit d6c1ddd938d84a1adef7e19e8efc10e1b4df5034 upstream. New modem using ff/ff/30 for QCDM, ff/00/00 for AT and NMEA, and ff/ff/ff for RMNET/QMI. T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0 D: Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1 P: Vendor=2c7c ProdID=0620 Rev= 4.09 S: Manufacturer=Quectel S: Product=EM160R-GL S: SerialNumber=e31cedc1 C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=896mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=88(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms Cc: stable@vger.kernel.org Signed-off-by: Bjørn Mork [ johan: add model comment ] 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 @@ -1117,6 +1117,8 @@ static const struct usb_device_id option { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM12, 0xff, 0xff, 0xff), .driver_info = RSVD(1) | RSVD(2) | RSVD(3) | RSVD(4) | NUMEP2 }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM12, 0xff, 0, 0) }, + { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, 0x0620, 0xff, 0xff, 0x30) }, /* EM160R-GL */ + { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, 0x0620, 0xff, 0, 0) }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM500Q, 0xff, 0xff, 0x30) }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM500Q, 0xff, 0, 0) }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM500Q, 0xff, 0xff, 0x10),