From nobody Mon Dec 29 04:19:17 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18641C4167B for ; Fri, 1 Dec 2023 02:10:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376669AbjLACKJ (ORCPT ); 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: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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=3D02 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D 3 Spd=3D5000 Mx= Ch=3D 0 D: Ver=3D 3.20 Cls=3Def(misc ) Sub=3D02 Prot=3D01 MxPS=3D 9 #Cfgs=3D 2 P: Vendor=3D0489 ProdID=3De0da Rev=3D05.04 S: Manufacturer=3DQualcomm S: Product=3DQualcomm Snapdragon X12 S: SerialNumber=3D2bda65fb C: #Ifs=3D 6 Cfg#=3D 2 Atr=3Da0 MxPwr=3D896mA I: If#=3D0x0 Alt=3D 0 #EPs=3D 1 Cls=3D02(commc) Sub=3D0e Prot=3D00 Driver= =3Dcdc_mbim I: If#=3D0x1 Alt=3D 1 #EPs=3D 2 Cls=3D0a(data ) Sub=3D00 Prot=3D02 Driver= =3Dcdc_mbim I: If#=3D0x2 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3Dff Prot=3D40 Driver= =3Doption I: If#=3D0x3 Alt=3D 0 #EPs=3D 1 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Driver= =3D(none) I: If#=3D0x4 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3Dff Prot=3D30 Driver= =3Doption I: If#=3D0x5 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D42 Prot=3D01 Driver= =3D(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[] =3D { .driver_info =3D RSVD(0) | RSVD(1) | RSVD(6) }, { USB_DEVICE(0x0489, 0xe0b5), /* Foxconn T77W968 ESIM */ .driver_info =3D RSVD(0) | RSVD(1) | RSVD(6) }, + { USB_DEVICE_INTERFACE_CLASS(0x0489, 0xe0da, 0xff), /= * Foxconn T99W265 MBIM variant */ + .driver_info =3D RSVD(3) | RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x0489, 0xe0db, 0xff), /* Foxconn T99W265 = MBIM */ .driver_info =3D RSVD(3) }, { USB_DEVICE_INTERFACE_CLASS(0x0489, 0xe0ee, 0xff), /* Foxconn T99W368 = MBIM */ --=20 2.34.1