From patchwork Thu Oct 26 12:35:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Puliang Lu X-Patchwork-Id: 13437547 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D7422DF92 for ; Thu, 26 Oct 2023 12:35:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fibocomcorp.onmicrosoft.com header.i=@fibocomcorp.onmicrosoft.com header.b="xOL/m+xK" Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2085.outbound.protection.outlook.com [40.107.117.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11120193; Thu, 26 Oct 2023 05:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h5N2nY2rcxChfJVsh54FKEpc9om+bYYQojZF/wI+agerJdXjtcDgaevMvU37UJicJJFjBZ2Gzf8X347BB0p149YhcNATh6keSs1GY7jGqT1zxoHlCKREiOr7p5VIXMnr4yAIg076KbRorrdeMA3gKSbuIhWVdwPFqCy6+ASXa+IDdSVJvL4gg4gozvk81xSUM4izNJoQTuoTjn/nQkCtnj7KCwzFZof4EmtnJxnOpLYQcUJmiqOavo7YZXhVHfMktO3kMOnxZsCFz1AilA+FmlyxyfgDbCAo2TI1Lg47IjlhX9Ctcs6A7V5JAQDJIc8T2bob9DwfaBawy6gR8wC69g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9/8EtJnHjwQXv2AJQwlbgbRWAu5AJu3G2d/WrNKRs1w=; b=EYrQLZ7310O1ZIc3qUww9h573eIR/ek3R96rrvgxoTFtpt9W/EQ4OUIpIX3WC28aK48x1HCTwA9s/y4T/HWUfLZoM3MTfgk8VUr0a0ajm48ZJsYNw+Rd2vvjDPg/EEUt0BgApMoAoD9Ow5rpIPjz6OTxzB97RvWmjnXrxWG4SklP9/eHpkx9/1PjO2vgTFLqsW1CQxVZXuoMYUKxSme3y9BZNuqy5a5PYcEorP+zeRP3Ct+YQpLeCwAmSi4+CAiXfboY9MWFZsVQzEouOX1zrwyM12qU0gWdV9CP5qcxdl7UwuoadVQ0IgumgHaBOklGQkaVlatmklHghslzk6ckGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fibocom.com; dmarc=pass action=none header.from=fibocom.com; dkim=pass header.d=fibocom.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fibocomcorp.onmicrosoft.com; s=selector1-fibocomcorp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9/8EtJnHjwQXv2AJQwlbgbRWAu5AJu3G2d/WrNKRs1w=; b=xOL/m+xK8RWzNhBydtG/9sRDrFmP4oilpZJzfykOPZsskKlyKVRYy/64bTpQW/t9Scm51XM3BHMuIJ5e/CNE/H4x7OV6+rinDHoL9K8gZfsMRXSJoc+PoexlGztGPlnl1VVMT3t/GXD64aMo1jXeGG40jtwzS9uhoOsPEeCOsGQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fibocom.com; Received: from TYZPR02MB5088.apcprd02.prod.outlook.com (2603:1096:400:71::13) by SEYPR02MB7439.apcprd02.prod.outlook.com (2603:1096:101:1df::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.33; Thu, 26 Oct 2023 12:35:19 +0000 Received: from TYZPR02MB5088.apcprd02.prod.outlook.com ([fe80::e6c0:ad44:ccaa:789]) by TYZPR02MB5088.apcprd02.prod.outlook.com ([fe80::e6c0:ad44:ccaa:789%6]) with mapi id 15.20.6907.032; Thu, 26 Oct 2023 12:35:19 +0000 From: Puliang Lu To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Puliang Lu Subject: [PATCH] USB: serial: option: modify Fibocom to DELL custom modem FM101R-GL Date: Thu, 26 Oct 2023 20:35:06 +0800 Message-Id: <20231026123506.26453-1-puliang.lu@fibocom.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SL2PR01CA0016.apcprd01.prod.exchangelabs.com (2603:1096:100:41::28) To TYZPR02MB5088.apcprd02.prod.outlook.com (2603:1096:400:71::13) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR02MB5088:EE_|SEYPR02MB7439:EE_ X-MS-Office365-Filtering-Correlation-Id: 6020dbb7-329e-42e5-b880-08dbd62003a7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XOruGRAmaD/u+XVsrJeANGnNtBdc/QXXz04dOjudHH0o2dp8JkS6IiICHEn4rdtHv00i3NA5pKWy/AhGmnHCkDjzP0h3OBTh0W4rgFg/3Rw49qMb7xa1sd3+0NWChruJ90IxBkpATqRvNLSYDYGCmaGrBKSFUllwAZI5TTnVwiWBlLHwI9Gtnkezv5AC0tZ2FbvW22zG6tbHGOYyZF67G9YKrjlQ80AHfzMthKXZZiZ+Yu/H+LcnnzA2ZLV6htdfG6BBaEzyigi0z978hUqJ6LfB7Shdce+/dbkg1MycqHcP65pPEQEe4p4i4NWAfSiMizCEa9xe9qy1oxd/X1Y3ZJDGnvALrV65IwQh/JihUU48c3lH5JK6tyEXGEgr13BOILuRkNK6Hd8ETbuUBXeiQYRyqXjT61HkxoTNAX7i8yOxvntxG4sqPqRfO/ku9Ssj7szkJS4MigjXaXephpS0BWLmp12HH/00rYhbLojlp9v6tvqqRVz7p8k2KnrqOdWtDtxvYXqn2gY0J7tcsSMrJmQb6t5lts1KwUj46yuxvvf0oWm1il00yTFMAiKZsx0k X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR02MB5088.apcprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(346002)(136003)(396003)(39850400004)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(5660300002)(1076003)(316002)(83380400001)(44832011)(41300700001)(4326008)(8676002)(8936002)(38100700002)(6916009)(52116002)(478600001)(6506007)(6486002)(6512007)(6666004)(66946007)(86362001)(66556008)(66476007)(107886003)(4744005)(2616005)(36756003)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NnLnevdIfxvWUjLZFFn7hzaWn5ASxL+VSJsgDx+flk4gKTJqosur4V3m910ftNK/BBD8H5nMW8r8iLfvMU5xanMelAKtmxnTZElxdb4D+rja+mYWczqOGzSsK3VKBsbvS7fOSsNdvUr8mFMw42dAQVMqWEB4xfnoXI66PJB0OupOHNI2Gns7oUu/jAtAiJtG9gpZ4su5VGfQogK93VZy9LknnS41VNZcZ0LO/TjxKBHdO9Jm8oVmXaj+IXIUQGn1tKHoLn0XevInm4Ztg4Nlci2mbLIvI86oNwNp0/J+k+X/5yxBSXldJoM2SmBWUZeD2CYB7y0TTd/TAs1FE9rNyVm62Kae6uWDeJS22SVxhZTsncJ0+UpUDCC+G/QF9yfiy8H/HY+cs0dE2DprwGATboxRpYD7/5weeeYzsidrZz8ammO7bBZqvqS4K9iWPFWfCosPT1FO/TXWY5PTX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1Se0098u81E7+r+m01whJFKhoGwqKcpmOnZ6BZET4bWtfCOiID6QNgl/DGFkulSlLzdcTzu77VNuZNbL6LA0YAlZBnq4I7zwfrVoZG34QEBgx9ww79g9fxXF X-OriginatorOrg: fibocom.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6020dbb7-329e-42e5-b880-08dbd62003a7 X-MS-Exchange-CrossTenant-AuthSource: TYZPR02MB5088.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2023 12:35:19.2562 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 889bfe61-8c21-436b-bc07-3908050c8236 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zNEphSDKlLKOw+w/mWThovnTzIUxnOdvxsnyKiBK49AY9Jjk7XlKP4sKEyX66VckrzMiQBTGyosy01jhzFwzgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR02MB7439 Modify the definition of Fibocom USB serial option driver FM101R-GL different variants - VID:PID 413C:8213, FM101R-GL ESIM are laptop M.2 cards (with MBIM interfaces for Linux) - VID:PID 413C:8215, FM101R-GL are laptop M.2 cards (with MBIM interface for Linux) 0x8213: mbim, tty 0x8215: mbim, tty Signed-off-by: Puliang Lu --- drivers/usb/serial/option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 45dcfaadaf98..3aa219275509 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -203,8 +203,8 @@ static void option_instat_callback(struct urb *urb); #define DELL_PRODUCT_5829E_ESIM 0x81e4 #define DELL_PRODUCT_5829E 0x81e6 -#define DELL_PRODUCT_FM101R 0x8213 -#define DELL_PRODUCT_FM101R_ESIM 0x8215 +#define DELL_PRODUCT_FM101R_ESIM 0x8213 +#define DELL_PRODUCT_FM101R 0x8215 #define KYOCERA_VENDOR_ID 0x0c88 #define KYOCERA_PRODUCT_KPC650 0x17da