Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3028763pxb; Mon, 18 Oct 2021 06:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGvFzbiXtV5U1RlpG87U48PwVTDVSP0Qn/hcc/8q0Pb9CNvBo2iJ5X059dJ+Bqq+SEZrsV X-Received: by 2002:a63:2a92:: with SMTP id q140mr23989160pgq.412.1634565343465; Mon, 18 Oct 2021 06:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634565343; cv=none; d=google.com; s=arc-20160816; b=QehL5/TonzON0+kUsLknnlx/cFEbVeNClttMwV6dDpeyIZgUJQ70nc5T36pITPOkQw x2ofgM161G94NiUUX7b/v9kuUH0Th8dd/mcEK7R0PjaL5l0/Um5T9DOugkwR7NZsGbKe Roln5Y3Zyp9Lf/hNwMLNSwwU8fo8LHez9I3BcqRRPRzd3di2qOicUqVGxxOqCvJKJWyt fx1kQy5BUTPTCMR1qxO3+TtbMnwWJj/To59KCbNM8J2knVQ82T7sjDcI2VcRwjnWP3q3 UFTdOFZ+dGSHc/z0cmpbu89Cz/vgbwX1f5fYftpclz5yr9XtDlk8WASh7lefzEcTF2Sf rw7w== 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=t5zoBJKsJTS/kUOCldQNk6w9fZQxjiEd+rJXuqlD7I0++kSRmP33NLcjx0LPHdwMyV kMJeQjiLESvKc09I8wRIlCVpczDNIL3R/wUu5lq+efltFWnnGSB7w7CSRPayQOtq5UcZ QG0ujHfG7lNyMOk4snumx83h4P6ZmQyz1j98wQYEyEo1kWIOKAjFI5bXk4yQjD8s7MD7 eX3dQg+99aQdOpK5pI38R7ZwTnKX/ezouoBGt7QupEvUWQJbNkFkXFate7c8GNJbd9Ez CToW2Y5bBjRgWgu/bSukE4BJDgq1WclY14LHNnKYipcIYDUq/cApqJXGOrI59FvfXaZm sAiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GcUoPBVL; 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 g1si20581398pjl.47.2021.10.18.06.55.30; Mon, 18 Oct 2021 06:55:43 -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=GcUoPBVL; 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 S232266AbhJRNzO (ORCPT + 99 others); Mon, 18 Oct 2021 09:55:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:57654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234163AbhJRNxQ (ORCPT ); Mon, 18 Oct 2021 09:53:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51F9161994; Mon, 18 Oct 2021 13:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634564337; bh=90kXehvpQUPWrT0A1olxvxENgHo8g6UIskVWuso48Bo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GcUoPBVLStNZ+0Va/OeHMyZfiSte/7NshlNcenZAmCWtzP3RDTnftdJwmqZOCxeP7 PlGQkY0CKyJ30myqWJJQ2AYpNnLimu8WqKVSdAvlWAraUsIo0DvcViGB+cowIEa2uN WgG9JGxBoeNsUI5Ir28PXkW+qCmR/P6LBnbgmNa8= 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.14 051/151] USB: serial: option: add Quectel EC200S-CN module support Date: Mon, 18 Oct 2021 15:23:50 +0200 Message-Id: <20211018132342.349113835@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132340.682786018@linuxfoundation.org> References: <20211018132340.682786018@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) },