Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3009742pxb; Mon, 18 Oct 2021 06:32:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLd6W1W5bkVbud343yRCeuAM7bG11+YxjQjBHl2VffoLJfTIIep4CsjiTps+L4UfL5TMPo X-Received: by 2002:a05:6a00:855:b0:44d:4d1e:9080 with SMTP id q21-20020a056a00085500b0044d4d1e9080mr28912592pfk.66.1634563944444; Mon, 18 Oct 2021 06:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634563944; cv=none; d=google.com; s=arc-20160816; b=B7p6I91pB3Efyr0p50AHtssYXLKTbcQ8Ub8U1f7mhHdbxKLmMYJ/ZHl5LDVGXRAytP drJBmdFJgaugFpRENp0ouThzjtNXdR9jUYbUAXQFsRwKlYhI5Zcok/Om6Ue0rdnuU9Yb ClyluzRvJ7pmwZUq5wbWyrVCF09HbI655u2foqROCPprXKb1fmAQe5KCScHhIlFKaQkT 1k7VCpzvVTbDf82yFO361IQtqa81nixkPhEGzzZuSfrNLJlg2iqn1daNuqogb0Kxe/li RmkDkKxvyE3uEHsVzP6lIfbeeBZKTjIklnYctqH0JCVRHK4b2q8vhGbK3V55UDJt/7o6 gwKA== 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=SdjczQT3tTBh7PyJw2kASmi7/yvEtAgnfeCkpoVgM/k=; b=uBlH8XY1v7q1Clj0pyuoPpDxpuoauIUUH+RVP7wFUpaaaUeD0vTupSwEKdVRy35kEe 5+81Npp8GC0hs2z2xUadV/GWWffI/7WNNug5GaR03acGce6WxyR8F0SYUN2qT6ssu9j+ PHV5x+/N3rU2A0FKtywrWwlxh/v2TA/2nLSjktjI3ImKVYHVgzFqvQZwmE/o44/P/vy3 65xMYnaoQ1lKUBOOM7/dCQXKmpHD5SscvAIubWD6ezrquixXuj1VSFyGk/EZfPjjn12h jhFgtjpGA83rF05PdZp4cdGK1YmETPyoC4X4RlAhhqz7jbVxxW+hgshg6C45Qg6ez4S/ D3BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qZdgCYKT; 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 j191si17768463pge.11.2021.10.18.06.32.11; Mon, 18 Oct 2021 06:32:24 -0700 (PDT) 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=qZdgCYKT; 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 S232942AbhJRNb5 (ORCPT + 99 others); Mon, 18 Oct 2021 09:31:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:43688 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232122AbhJRNaL (ORCPT ); Mon, 18 Oct 2021 09:30:11 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BB90961250; Mon, 18 Oct 2021 13:27:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634563680; bh=90kXehvpQUPWrT0A1olxvxENgHo8g6UIskVWuso48Bo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qZdgCYKT6qH2jbA9IfDUIizR75W2wtQa4V348E8h+iNmOeKYs3RIpLc3KHHJxgFah F0ZQyxxPGwMx396XPj+T6CzTXyATeqoyeqTw9u7vcY+N+JiWB+DCXX7lFqHbVYZpUt 8myFVOjHCtAXpxVJXyWqOY9Lvgn1HgxmxbD5BY1Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yu-Tung Chang , Johan Hovold Subject: [PATCH 4.19 21/50] USB: serial: option: add Quectel EC200S-CN module support Date: Mon, 18 Oct 2021 15:24:28 +0200 Message-Id: <20211018132327.248565541@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132326.529486647@linuxfoundation.org> References: <20211018132326.529486647@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: Yu-Tung Chang commit 2263eb7370060bdb0013bc14e1a7c9bf33617a55 upstream. Add usb product id of the Quectel EC200S-CN module. usb-devices output for 0x6002: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=2c7c ProdID=6002 Rev=03.18 S: Manufacturer=Android S: Product=Android S: SerialNumber=0000 C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether I: If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether I: If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) Signed-off-by: Yu-Tung Chang Link: https://lore.kernel.org/r/20210930021112.330396-1-mtwget@gmail.com Cc: stable@vger.kernel.org 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 @@ -251,6 +251,7 @@ static void option_instat_callback(struc #define QUECTEL_PRODUCT_EP06 0x0306 #define QUECTEL_PRODUCT_EM12 0x0512 #define QUECTEL_PRODUCT_RM500Q 0x0800 +#define QUECTEL_PRODUCT_EC200S_CN 0x6002 #define QUECTEL_PRODUCT_EC200T 0x6026 #define CMOTECH_VENDOR_ID 0x16d8 @@ -1128,6 +1129,7 @@ static const struct usb_device_id option { 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), .driver_info = ZLP }, + { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200S_CN, 0xff, 0, 0) }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200T, 0xff, 0, 0) }, { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) },