From patchwork Wed Mar 6 09:35:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bolan wang X-Patchwork-Id: 13583653 Received: from SINPR02CU002.outbound.protection.outlook.com (mail-southeastasiaazon11021007.outbound.protection.outlook.com [52.101.133.7]) (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 11FA45DF21; Wed, 6 Mar 2024 09:35:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.133.7 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709717750; cv=fail; b=ZTgm4ngZ+hsF8D+n1B8Zpz2m0Iq9E6QRAJY82+5K3Jfs0482UuQFKynaOkqqEzkZGY5dSjsB0BO73G0Q7mvqcdK+qsNOH40sUtbQL9WKa7hAa1+hKkccfeg9CLQ86fXzkDr1kAVO9ffbSm7AJ7BLS1s64XBoFaLKbOpHPjxusu0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709717750; c=relaxed/simple; bh=7oLHKbm0r4TEDUCEZ8CZBoZ1ZzBTXlG2aBlV0cUdKos=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=YpvIEtgD+UeXENeHFsMfPJp1iqNzgdJUZNK547A1HrBXE3dG/An+TnhencshkAjakZhNG4SKpWk4Qh89zLnAIfSi72IGVb2vw1U4RpXdZ1SsqnTJekU3EsXAvsFQXYAJf0Kl2/SMH1lnTnnpJHpdu+lP8tgktjJjulDKsdqmmt8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fibocom.com; spf=pass smtp.mailfrom=fibocom.com; dkim=pass (1024-bit key) header.d=fibocomcorp.onmicrosoft.com header.i=@fibocomcorp.onmicrosoft.com header.b=Mmnza4s/; arc=fail smtp.client-ip=52.101.133.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fibocom.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fibocom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fibocomcorp.onmicrosoft.com header.i=@fibocomcorp.onmicrosoft.com header.b="Mmnza4s/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ks49sJ4OgnRGDpO9R7BCaDv7FJWUARl++HaZSmCKl19zr2F0zrkDAkEZiJvnN/ZHYC8hNdse6asOX6SrW+YXflLAcjQY/ufwmGm+WZwFIx8cQIq1ccCLx19McZctAnHKRl9XVP937tkT/nikButZVE6so1HpgL4+21PhhWHBkgFdLhrLa3JvR3Mfoh9IUPAvxu7RmlUmyXwYNQGZjAlpxfEvGRxqiMMfaupWqUBpoLF4TGL/ylko0aqkVwouzswXdFYpOfioMw6+InqrrYLxi7GlR3JHX4u28Wi1X+JhFSoYlR/HkyLxQ2yA8vKY6c3lNClcIh0B9/51mYDTLOmITg== 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=kaslRnZQ3Jkyq5jyTIxiZsAU8f4jz+uwRHMhy7E6Kys=; b=DjrLiUVQ31rAF1ZKo3e/N6/j5VWtuvNsxmMzQOVufGtELDCuB0awzM2h4mO56jQaw23MnUXKznQ5nEVJHVRguAqypqN8FqjW0s1ojtFeHoz4zNbUJ3wtGiN9h0Lu6fnhvHxKYiUfl3Dt8UrytIPNSat/1bdV6JdYsLUYzRTFkI5NNODWRR7jtpzdTJ5EjIDv/GIKhF2hlcO88eWlXcFVdfO2TP8RQF+TEur8M8DAD3sBLBoDNeDxwt1/wXsQbVkcnG83nujvCZTaNPD1LNbXKYH1+Qp3oLc+NwsYspOQZ6z003VpBLd+gX3HJ3FiSQNed3qiBrS5Dh4TCDUbzJuh/A== 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=kaslRnZQ3Jkyq5jyTIxiZsAU8f4jz+uwRHMhy7E6Kys=; b=Mmnza4s/gtQO/ntj9aMeBDktT05kcNrbj5xBgYpX7MudBEkOlYd5kJ+ZL+TkVIyGKm/7Hj5b5deD9S87E3DqTYYieDAbb3YBph2cYhXIXDAHLAmfZGYk7VpL8AlqmVbG4LRvxjANMDcgnM34HmuNcxG9Xg5WYCnbQvtgWx5q+C4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fibocom.com; Received: from KL1PR02MB6283.apcprd02.prod.outlook.com (2603:1096:820:dc::11) by KL1PR02MB6378.apcprd02.prod.outlook.com (2603:1096:820:e5::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Wed, 6 Mar 2024 09:35:43 +0000 Received: from KL1PR02MB6283.apcprd02.prod.outlook.com ([fe80::87a8:fbd4:757d:2f75]) by KL1PR02MB6283.apcprd02.prod.outlook.com ([fe80::87a8:fbd4:757d:2f75%7]) with mapi id 15.20.7316.023; Wed, 6 Mar 2024 09:35:43 +0000 From: bolan wang To: johan@kernel.org, gregkh@linuxfoundation.org, larsm17@gmail.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, bolan wang Subject: [PATCH] USB: serial: option: add Fibocom FM135-GL variants Date: Wed, 6 Mar 2024 17:35:33 +0800 Message-Id: <20240306093533.1313241-1-bolan.wang@fibocom.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR01CA0138.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::18) To KL1PR02MB6283.apcprd02.prod.outlook.com (2603:1096:820:dc::11) 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: KL1PR02MB6283:EE_|KL1PR02MB6378:EE_ X-MS-Office365-Filtering-Correlation-Id: 108789f9-5e0d-4c18-e8c7-08dc3dc0cb36 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U9fbCFPf5zXWpBGfS8vFz+IESH6yPxY300PeaO1FGVTtJrw/s1IOXp4Yse8vOrJBUwrZN6414qS4M6KVcRuZbpXQQ563Crw2PSH5GgB7ptZjtkdnkAPt+vbzdh8R5XwLxZLv8bfFSYARbL2nqBsqtlTIE4j/R9TGPS899savNrBb861bOQ5IJtKBsobggkBNAgEpQKtO7EqJuos2DiooyaEQoCB2/U6DGfBGQBIz7ZCVDAc6LBUssdULwzmKcyRwvRGl7I4aO65/rk29mu950q5CEuciQ8yZi2GsxLiTOXCAgms9yaGza3zhfID9+77K1CeqUm/dcAbBbmFPFddYoiul7efbS9C4YqNyMpn64aUct/IMqkoZv+uE1xlkXgDcBfxFm0ke5SiOyewupNC5iOMocFK4wVUOEhXVDB0ksWyePvhhXiW3j7OxyWAEH4pSKMcbNvbSXoGSZ/K8GL7ERwy2xyGkSgLJOKKik6Ad6+lZgeF2Az2/R89cDkarPa77oLt3Oz3vUs3xYd9TEDqHHx7aMyPJ0NjAELJ4aBV6+mG3NJo23bB9sk/KvOb2ChsIPn7aBkUmZBekNqoD7COY8P0LfgftbzgSJXglVQfaFuc62cscrJ7FAq+V+Q8VxAOyFtm6ecwwnsky0/h5oAfxv7tA2albkoK8Kj7jpiC3NkflmS/c4VFdLw0LhO3mjdMEdqt1siMQb/9isdjAXrwxlCwkb46ACaQ+02rO3QHwefc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:KL1PR02MB6283.apcprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: F/BTzlAmz258XjM5pPtHVeNGfnGrpbFjMXodgsMBsGOR5IYOUABN/qFL4XdX5DXiWTMupdJffePjctCBl3oymHTLWGKWblod+kD6XepndJx217DFlYjBk89zAxIvzeIlN9GKl+1iW9cGLmkCeNf5C8yQ17L8xEfMNk6p0QewR3Fp6JnXc1pgYqUFExfxo77fG6q+Mj4Xiu8m+i3QztbvchIRGoKtRKmHXud2Q3UB3z5h0PPTsGsko/N6kslhHoPtVtJw+nct0qUxoim90z9xCeZ395sC5is5B5uXTBcLl917haRcPRoJ9ylERjN/Ztp52RPYVPvtazTfWdpsqqS/jDZ0V7ddMtT9/+RahsGQNyBcoOWiltjfCHtLkvAcQ8BeOsKGudaMU2A5uLbGiYkW7CN+IzEbMLm8Dtk5n1xRH+tuLhPgSwXob/EC4o4eksyvfzt/1KwjHkGq6IALC15YIYzaINRgaW59Hk9Lqba6/Kp8FzR9lDHBy3MIhXEnh98+9FZAUw7nlJm1nMROpBOJbIFKvjxHcAxPeuobtVzP3oUq/dwFT0mqjqU8d2X++r82qB0ymrTOXT5WVJnQtM/k8YhAgyOTtE+AsXsL5MxFB3IX+6QMMrQXj1lujdzhdu3orO1Ut+pqmUIewi9R5GcUV4UvkJpcROVmvxIGxaJ5OoTvZsyFLP3PFdftvZL6THF4HhlYAEgBwilZPXmsvfYBM1zaJd3hkaSS1dhXR/HAmGFVdVZlNozDTO6U35F2NrZw3MQ3MvhY5MDIB99dOineVEnSqoYOhbG+3XGuKqg/pFuujog5H4lWOplL8rAkTYq+mg2XqG6WHXeoPxqdJwU/vEYT7NWRe/NGWoLqwZiVLzCcFlxVZ0zwdKmRuYvcM4QDaSRKoDyisQnGqM3bKpxtgdy3ZVb9XA1f5cz5tdDZ9Z6FaDS1dZ8CMxuiTQavNqIeAtkN2Mvh5L6vuHLZBbJrmt31PEL6YMQfUjAQWgAm7ZtYPBb1vzb5N2PLBRrSTHPFsyFfkn+rUhCl4x2yJ5LR/Ax9a7ikEgyxszOsHXRAdxofAJPBO75Alg+Q4T6tWmCxJ+HHBxPuNe1OrXpu8jkPXonTMUkl21sFWLmfxlY+X+O4j/5Cj9QAh/KKPBlStG9m2vy/X86rW3btJGFbVwfU+jJZNO3E0zVHlNW5C6IrF8RNxg2PtRGP1Ga6VlNES+bR/jRwY1q4NBS8Wd1zLoSp9+L8Tx9BGjcZvUTnMj8EIcvHh3aGA9kt53sZvjjMm6qLxrAM2XI6u+jOe0Ws8Z0NKuwhVnTcBiNEaT4+uANCitYLTi+HrHo4RcjlopBEbFvTD370gNy5OF4OMP0Izdq4NA1+84AbrfnAhWWMN98AeHm5XKu29O1LMlDgbTaB0gKjwjCiaF9TdHiPxoYbRwfY3hkz/4sZ9hAMz4PrJHJ4atIiml3MP23JLSZo6QzfM/IjCMuPrazUwNUmIcwyvbqmhNiMDRe125gbZ1MdrtrTmrjYTzd9r25ueUYvb4fqmeVvwZD86l04nP5v74gmLI0B7DKRcolocviUb9VqzUqNtEAMogh3UhEZYGeqzt/HSTxmwndQQILF8Lepp/Q1ggicNA== X-OriginatorOrg: fibocom.com X-MS-Exchange-CrossTenant-Network-Message-Id: 108789f9-5e0d-4c18-e8c7-08dc3dc0cb36 X-MS-Exchange-CrossTenant-AuthSource: KL1PR02MB6283.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2024 09:35:43.5131 (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: yRHR2WACUqQbfTovFc3h+85r4zUi1AzJnQmQNdAZBm31XONSTPkc0K206Df0iu9tH8dzX1/hxDmxKwFKzKK4Cw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR02MB6378 Update the USB serial option driver support for the Fibocom FM135-GL LTE modules. - VID:PID 2cb7:0115, FM135-GL for laptop debug M.2 cards(with MBIM interface for /Linux/Chrome OS) 0x0115: mbim, diag, at, pipe Signed-off-by: bolan wang --- 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 2ae124c49d44..c7ea7e5ec875 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2267,6 +2267,8 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0xff, 0x30) }, /* Fibocom FG150 Diag */ { USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0, 0) }, /* Fibocom FG150 AT */ { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0111, 0xff) }, /* Fibocom FM160 (MBIM mode) */ + { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0115, 0xff), /* Fibocom FM135 (laptop MBIM) */ + .driver_info = RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a0, 0xff) }, /* Fibocom NL668-AM/NL652-EU (laptop MBIM) */ { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a2, 0xff) }, /* Fibocom FM101-GL (laptop MBIM) */ { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a3, 0xff) }, /* Fibocom FM101-GL (laptop MBIM) */