Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp742746rdb; Thu, 30 Nov 2023 18:10:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOkVDGiGIjf+4xiLqvcHrDE1D3pYCuCQHL3TEoiFJ1Wt2JheiuZJEmkFI8ZwOSn2WlT1U4 X-Received: by 2002:a17:90b:3906:b0:286:1e60:69a4 with SMTP id ob6-20020a17090b390600b002861e6069a4mr5863837pjb.24.1701396634401; Thu, 30 Nov 2023 18:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701396634; cv=none; d=google.com; s=arc-20160816; b=wuHjjqI22bcS6hjBz16kQVigmnAK8ncPmMnRr6SoXhHPP4+mK1Zh8nXVYApCyvueia cOySNK1O2P1mYGkx8S9yFpNvxgJJ1evfSumiOhzgdLxHhtDuK8s5NE8n+h2Czdowt1cB Npw7w9aRBIG7s4bYe+wE2IRkFvmphd4ce3QaVi8pt9CByJVSGtAqHzFfU68kRsluikC3 10m51XO7cvwkpyZIcjxng1KW1sXJ5fLsqKmRuYf8mGv0+iicwM1dYcKUlPltQoLObpnN j1u6vnTUV49+/R9o+xQk/Te19dD1O+16KoC/y5B7fmUboauvUUdg9n8XdC9E/CMNcRSK Th/A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=oV3MwNn4l5UCMKMMhFzmpSsC7lPc9xb/Zeakfk8Rxt0=; fh=qYYwqqE8YOLC8rnaQS023beznZEwnCDpYcgUYzjsw1c=; b=n/Z9Y+D3wx1NN8+JKcYqZvN1H4COU2zJmOnms5SxHg/a3AfIQLFSNsoGZybeAAc0U8 a7gRZ5/WMHqDdx0L1nFD+F56Knti3Aq8nrEwc9qKu1Egri7WPvngRNxzGWYVJnBh5mf0 uoevixJkTE9vEdnMuk2uI0P7mflSMobI3SBC+X2HicbTJl5QpTonLTzS040Ss69cxv6t eWCgKTUPxnfMXZXRS/2n7YJ0q/ucHvAoClvRnDgXq5f2glyZEmlUva2Cd3RmgYH4ClG+ RM7XfQzUECWi3DhrUuTO6KPTDF9V+lMHjF8BoCjGkQTzFBcaje5RebpL24iJ/RiZVoLf 1bfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=e1pbDTVg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id h2-20020a170902f7c200b001cf77931eb1si2242457plw.4.2023.11.30.18.10.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 18:10:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=e1pbDTVg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 92586803E9DF; Thu, 30 Nov 2023 18:10:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376623AbjLACKJ (ORCPT + 99 others); Thu, 30 Nov 2023 21:10:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbjLACKI (ORCPT ); Thu, 30 Nov 2023 21:10:08 -0500 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E723E13E; Thu, 30 Nov 2023 18:10:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=oV3Mw Nn4l5UCMKMMhFzmpSsC7lPc9xb/Zeakfk8Rxt0=; b=e1pbDTVgLfrEgOXK4q1/Q dYST1gBg8DFIXD2JXD+5wdAfcd/rIvg8JBDIkLW52d6unS64w39Mt2nuJEN6aQBl AX9pmgAaVrfCETHxRinDdA6LPqT64rjzdk6QXp8ftptLy/E3v0zI+Do775EC/Y92 2j1lTuRkU7mDMO7nPmDEC8= Received: from test.web.setting (unknown [223.160.225.51]) by zwqz-smtp-mta-g4-3 (Coremail) with SMTP id _____wD3P3BxQGllZQIzCg--.56146S2; Fri, 01 Dec 2023 10:09:55 +0800 (CST) From: Slark Xiao To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, johan@kernel.org Cc: slark_xiao@163.com Subject: [PATCH] USB: serial: option: add Foxconn T99W265 with new baseline Date: Fri, 1 Dec 2023 10:09:50 +0800 Message-Id: <20231201020950.34770-1-slark_xiao@163.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wD3P3BxQGllZQIzCg--.56146S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7CFy5Jr13Ww15ur4DJw1UJrb_yoW8Aw18pF n0yry3ZrZ5XayrWFy0yr4rAF95Wan5K343KasrAw1aqFyfArsrt34xtryFqF1S9rs3KrnF vr4DGw4UK3WrArDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUjfOrUUUUU= X-Originating-IP: [223.160.225.51] X-CM-SenderInfo: xvod2y5b0lt0i6rwjhhfrp/1tbiMBk5ZFWB2UXL8QAAsG X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 30 Nov 2023 18:10:23 -0800 (PST) This ID was added based on latest SDX12 code base line, and we made some changes with previous 0489:e0db. Test evidence as below: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=5000 MxCh= 0 D: Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 2 P: Vendor=0489 ProdID=e0da Rev=05.04 S: Manufacturer=Qualcomm S: Product=Qualcomm Snapdragon X12 S: SerialNumber=2bda65fb C: #Ifs= 6 Cfg#= 2 Atr=a0 MxPwr=896mA I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim I: If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option I: If#=0x3 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option I: If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) 0&1: MBIM, 2: Modem, 3:GNSS, 4:Diag, 5:ADB Signed-off-by: Slark Xiao --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 4dffcfefd62d..b46ffe9c8d0d 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2242,6 +2242,8 @@ static const struct usb_device_id option_ids[] = { .driver_info = RSVD(0) | RSVD(1) | RSVD(6) }, { USB_DEVICE(0x0489, 0xe0b5), /* Foxconn T77W968 ESIM */ .driver_info = RSVD(0) | RSVD(1) | RSVD(6) }, + { USB_DEVICE_INTERFACE_CLASS(0x0489, 0xe0da, 0xff), /* Foxconn T99W265 MBIM variant */ + .driver_info = RSVD(3) | RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x0489, 0xe0db, 0xff), /* Foxconn T99W265 MBIM */ .driver_info = RSVD(3) }, { USB_DEVICE_INTERFACE_CLASS(0x0489, 0xe0ee, 0xff), /* Foxconn T99W368 MBIM */ -- 2.34.1