Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3019460pxb; Mon, 18 Oct 2021 06:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxx3LAahxhO9irljk3Jk+PoJmV1f7CWx6aQmhBV68mwIQYAJvJXKYhuxoEC1m/9y2CL5fLt X-Received: by 2002:a17:90b:1e4a:: with SMTP id pi10mr33683491pjb.142.1634564641775; Mon, 18 Oct 2021 06:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634564641; cv=none; d=google.com; s=arc-20160816; b=QUEJHLsCkkViMjd8pcrLP0rOaVxjxMpHyZ/hGOaAhG0U3kgtAUzPf/vgXnE4+LMm7/ 8kKSeEtnFCQF8ipo22jtKTuNMp9Th+3Z+uFyG5NfMpA/UZlBSNWbTjLB6GRjL9gzClkk AQoZHM2ZXT5jrlvjxdhr8b5oHAL9FVHrzvhGuBgYEhk3O1LLNg/ZVaP/M0rHCx/ldm8K 7xdk7eemGgMXNTb8x92pLTFydRHop0oQ36DktQdx1qsOjxhxFsIfSMEK9Ha3LU7Uptyd W11X70vXYzTsmT5xWDIr3Qi7Ll59m+tb0LSeL2dQMTuxlcLSKJDelZhIlzYSGr1yeyEc YTxg== 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=IxYMFIP8h3P9kb6g1+E3Q9Jpg4IrojHQFu6+qXI6P3LN7VibY9Yaeg5H9PgMRSDRQ7 oJNPJWMnVHnVOddNrtgMwVFAANN1BbZIC4MfKRW2oE0vs9V553m/IayRln+Kyxx6IrO/ Jt72BAkauwcad+KJtE0KY8yTMs3pe3lH56xljw3InwO4kCLchgOdXr2JaL9H7DyYzpAb qKTzxXM7AB5Hqqfze8cc7sUoKtDHq4htqHuJEnlxdbxO3dzZGpnX01B561WP6iPuWnrX YBJ38oeKhU7y7oSXGwNnR4uqxUGggQc15mBFRXVta89YjsN3vhh+iU/ocJELR4lhccMf Rh7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R1r4t4ha; 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 68si17937094pfe.367.2021.10.18.06.43.46; Mon, 18 Oct 2021 06:44:01 -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=R1r4t4ha; 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 S232912AbhJRNoD (ORCPT + 99 others); Mon, 18 Oct 2021 09:44:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:38642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232040AbhJRNmA (ORCPT ); Mon, 18 Oct 2021 09:42:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8930D613A8; Mon, 18 Oct 2021 13:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634564030; bh=90kXehvpQUPWrT0A1olxvxENgHo8g6UIskVWuso48Bo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R1r4t4hamxeIYZBpKYiNibaGTrhx76AJKmfJpQ8Kh4TZnGf0F5AqoOeW5gEFdrQpe bFWHoNwFGQyu2pKhhvUiahJvLsk+Puuh9nQ4qJP58Mkf4Pl7R07SXqjY/RLPA/LPdv IT6rQLeKP30YFJ8Dr0vEN08/FambAz3Q4H7wFXiE= 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.10 037/103] USB: serial: option: add Quectel EC200S-CN module support Date: Mon, 18 Oct 2021 15:24:13 +0200 Message-Id: <20211018132335.955297585@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132334.702559133@linuxfoundation.org> References: <20211018132334.702559133@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) },