Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3012788pxb; Mon, 18 Oct 2021 06:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGECzJuOJAoAedIPBbBxFN4xgNu78679pBp2KfX8WTyPuhZDg8cM5iBCCCPLViJDEOCgoI X-Received: by 2002:a62:7bd5:0:b0:44c:72f5:5da4 with SMTP id w204-20020a627bd5000000b0044c72f55da4mr28992954pfc.48.1634564152055; Mon, 18 Oct 2021 06:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634564152; cv=none; d=google.com; s=arc-20160816; b=DbtlyvKi7l9EmHzhWFgQvfuBf1b2U1hEH3a54X9Q1VfT0q4hbsix/wVGsStk9E3SgS bpYKO3if7qu+GZ7QnlY9sfNLtQc0I3F1tEPaPs5b2JyjtUA45eIGuGUqJfXYOiq5/77K f0XpsWi1jWeCu7AORKqgoPNFEyD6WjcFrBTEWr5iYiZZKVqpwIzB1BQkwlwPMzkXmZbF 7iTx1uqw886cvO7VqFhG6d02JGhESRZDgVMnaj1UfePaNJz8VT1xnDOWsmDv/MrVK1mF Y2vWcwnqPhAg+g89LAfsShEhllVkuLr7BO1m9RrYShmsNpa2q9S9hDdmhqhbHvxoXvCB gbpw== 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=BHraG0MhBSGGgMkeRgo+fRv3iKPfLgOJon4y5XwihPElfV40jhlgIblXhncUVxtzd2 PEu7B/je68wZvEc9t4phpR7gF8YKtdmemTkynWTS1C3Bs1hvXttLB3rQvB/CC01fhxbi Mp2RX/k1PMGoTwESYUteckjvQXSrPawN5gSzh+F7DPi6u93Ggkq66UciD16NCOXrnjVx a4Sh/Pc/lVWf43UMqwOHv5mwY2uqoh0xPIc3MGP5QRs5Ss6pnwrUxBKqNsoIUrtSGp6R uKMUr5WboX72/XefWU2FBnqyTJWUFbZCPZUZaXAZGCwKK6je90yF6YSjp7088Zi6fqfs WtlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nJp+tSag; 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 q28si3393542pgu.255.2021.10.18.06.35.34; Mon, 18 Oct 2021 06:35:52 -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=nJp+tSag; 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 S232420AbhJRNgo (ORCPT + 99 others); Mon, 18 Oct 2021 09:36:44 -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 S231795AbhJRNfD (ORCPT ); Mon, 18 Oct 2021 09:35:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 512BE610A6; Mon, 18 Oct 2021 13:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634563821; bh=90kXehvpQUPWrT0A1olxvxENgHo8g6UIskVWuso48Bo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nJp+tSagKJa7uuFyz0ApNbSpmGTmuonkFTti4gQ9G9xrBDGRff4426R4TN5rkk3Wz Kyr5uwh1oCBvfY++GkUe6V31wbyayWCYpxS6EzEUbRlVHvBRURvk2Li+5pAoVsFEPG iXWvqP07eqOGgKbk0fcmyk0kLNAmwWWXVe/FjOUQ= 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 5.4 28/69] USB: serial: option: add Quectel EC200S-CN module support Date: Mon, 18 Oct 2021 15:24:26 +0200 Message-Id: <20211018132330.395325606@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132329.453964125@linuxfoundation.org> References: <20211018132329.453964125@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) },