Message ID | 20240709042341.23180-2-jinjian.song@fibocom.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4FD9CC3DA45 for <linux-arm-kernel@archiver.kernel.org>; Tue, 9 Jul 2024 04:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=duN7N9TURc9wnKlLcQJnw5LloNUvtgiA3EKnROioOoY=; b=xFSpq9ONeXwcgXwNFMbbCjPPL1 T1qBoa29JyQwFn1eHnR9h0pJijHkg+0u4PoDR9E6daUKmU1h9EmmiSITK4W+GdmWgDIGMJzEkn/oa Sy7JuzgIysDVPe2aPpq7FgyoMTbcR8PvgNtCk4/PWImRZzyz79OSrHuP86K9AIwYuEwpPnSiO9/W9 hz483H1U+dH7q2UbOlDXGFkBfc4JBDpJm8CWi1zjdnFF/UDH//NqpjOhNNN+B/kh9dWHDxjY2v1H4 TWOXbt0prBZ7e2fALjVgmYXoymhCo7bcdPRgGr5jOGAGLIpXp+e81mxUhgg8jQI+pGnA/NgkecBPA ecC5jRBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sR2PH-00000005qX6-22Fh; Tue, 09 Jul 2024 04:24:47 +0000 Received: from mail-sgaapc01on20701.outbound.protection.outlook.com ([2a01:111:f400:feab::701] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sR2Oq-00000005qMm-0OOl; Tue, 09 Jul 2024 04:24:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eOJWt773G+iR8FewErF1v1EXRkKzH92pPXilyz80eRes07+aBq4vWWpZTs7LvA4flaAfmT8n6oz689hBPXWczy4rYGmF4FLZ4JuxTNYKYQ2T7SB2ck5hkC/UmU+pL5kZfdYqArMTNj/JZ4QrBnw+ttjjq0HDlrVu5xbzW8V8G9bSMQ/vIXbwi29DM7y4F9+oCv+wZwv4iYsqm4MP+rzw/5qhwBuuDEjASqg3BzNvZeNYq1vMaUYTbbvmn+iikiQbE/M8ypEOLWF42gQzaKvZ5jiOkt1oFWWiLL13fDhCo7XvcYwwFBNKna1QiNx9ENtXSMVU/08QiHk1mW2fR/fvcQ== 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=duN7N9TURc9wnKlLcQJnw5LloNUvtgiA3EKnROioOoY=; b=JwGiAEDW+7WZx4RgQKcnlCxt0TbQUPUHSTkMwNy2KxqMNePVJVTdvI1ea71r1jM7YdF9f9IRvOVNfiz2qGx1Ea8H8lQLyOnINU6DFsk5FqfBNduSyBatx4j9K1xoDOUKtewWDpvC9XPtMJ6e6j/RTEmwr0jVzhj7NUng1TXlATVOGeXnRU8qihXOZZplPF6q+92i4LvAPRKKDBQZKDqR+AktHvU5KdSWNhH3IswuU998mXLG5abQOpLx3hJiDRVBL6kdzs7kPi3Yjl9SJtRAXRpx1B1QsRGU4sku+IaDvy8cRTPS4b6GrgcfwysblzDALub7GxsDUNd0J+COPs4KQg== 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=duN7N9TURc9wnKlLcQJnw5LloNUvtgiA3EKnROioOoY=; b=YYcsdmD6YgxtcsIUpeqEIOOIPjRvm3Vaf8TKtIIw4j3mWL/8R4c1CARApM0EVMoTFWkKk33W/QZwLj86o7ufKnaxrUAmQerYBkqcqJizS1MP7ByVzpaxSaTxFhQN4uD93zfowmv/YxX2B2zAh50ALLKJh58XKuhu/pfBYccSJHE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fibocom.com; Received: from TY0PR02MB5766.apcprd02.prod.outlook.com (2603:1096:400:1b5::6) by SEZPR02MB7365.apcprd02.prod.outlook.com (2603:1096:101:1f6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.34; Tue, 9 Jul 2024 04:24:13 +0000 Received: from TY0PR02MB5766.apcprd02.prod.outlook.com ([fe80::f53d:47b:3b04:9a8b]) by TY0PR02MB5766.apcprd02.prod.outlook.com ([fe80::f53d:47b:3b04:9a8b%7]) with mapi id 15.20.7741.033; Tue, 9 Jul 2024 04:24:12 +0000 From: Jinjian Song <jinjian.song@fibocom.com> To: chandrashekar.devegowda@intel.com, chiranjeevi.rapolu@linux.intel.com, haijun.liu@mediatek.com, m.chetan.kumar@linux.intel.com, ricardo.martinez@linux.intel.com, loic.poulain@linaro.org, ryazanov.s.a@gmail.com, johannes@sipsolutions.net, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, inux-doc@vger.kernel.org, angelogioacchino.delregno@collabora.com, linux-arm-kernel@lists.infradead.org, matthias.bgg@gmail.com, corbet@lwn.net, linux-mediatek@lists.infradead.org, Jinjian Song <jinjian.song@fibocom.com> Subject: [net-next v4 RESEND 1/2] wwan: core: Add WWAN ADB and MIPC port type Date: Tue, 9 Jul 2024 12:23:40 +0800 Message-Id: <20240709042341.23180-2-jinjian.song@fibocom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240709042341.23180-1-jinjian.song@fibocom.com> References: <20240709042341.23180-1-jinjian.song@fibocom.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGBP274CA0020.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::32) To TY0PR02MB5766.apcprd02.prod.outlook.com (2603:1096:400:1b5::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY0PR02MB5766:EE_|SEZPR02MB7365:EE_ X-MS-Office365-Filtering-Correlation-Id: 288e9f2a-c0a3-464b-4932-08dc9fcefc60 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|7416014|52116014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: TOhAkr9eMy8349453xleh6bT/EbZDClyRsk6PWtsFSl5R+vgwX294qU+5t5BycYSTEPO8SQAMYFIKqKnc0SpSW3WhXjU6opoxUkznaxzz+N1GeQ6L7i42Cy02S4k2YnS+RhzFONX7aaNwhnm4rQB+eCbDxq+4C8ZkZu+v8cq+sgLmKTG3qTdqAq3JCs4sGK0pL3jHXuKDE1NxMO/6wgPVbaJm704l+Tzwwc0jlJowJJLqpOk+abPMBnK38m6EUAmXwxefocke8AwRvHQVJWnbYvyoxvqQ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yrusGpdjo37ku/pAMMusIary2cD1W0T3Dkvjy/cKdqoEoF8S+85kXSi6txXjQJ7FVZfmwKI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TY0PR02MB5766.apcprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(7416014)(52116014)(366016)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wTUpv+aaytmDxZ6+rz8PjBMIM2j62NYRm7IbDLec3paQqINN16ZDslzomubWAkFi3ryheDK+n6WIyGVnJcAkDnZl9//V32S0hvE5ZhS2d1NQIIJoSn7A0TRS+I7HPgWX/05hBhjt4PVqMCVJ6hNPGPCVnsFusVzEr9BpLcajXBR1xlHXc94C/wTWbuoF/CfkEyTys+7r5wH9Q8NYtKwBsyK38IB7A+5IZ9PNtkmv/0YCgCSIrBlGjRHKQltHRlMZXXdcjnQwigKQGtG89ah/QNxPSwd9Ec9nipRH/MGf7PPKYQwxgrMc2ASQkN9MuFuC1acrynJQF/8WqZKS8+Dku6KQNP+sN7IGoFt92Ns9kmUPIX8SLkTCvmlO8mESLmAvpCmjQVu+pfr+Pyql4lTFcehBqKCUj1k7fH6FW5WWNlbuA9YJotFeh8/l9Sebldu/3paz03UswJk6JKWZ21Jf2yBMmoJKsX4rsEKXhyUlQNObMdkeP6wKZaDPjXABc5x9qTO56kBXTsC7IRsMZ9DH0g7Xc5RiEsPFDfAQnEqJy4V1uY82Be6pi+Bi2L5O/xmkd5iG+rtsduEbe6dseChcjpxHPzGXdJO+ErrSD3YBvAzak6L7/+HSfcJToKNhhUq0JKy16Y4GGuQLl4Me9RbOx9p40sod5ZECHhgs78q4S8FWvY49DR++lj6fcOFDfJN7pabZJGWCEg9zdCT6ePwJYUxZgQf0ITZRqw72rixzP/WXDDoDWMc+TxW3gWPecDXZJOH6c5Wufsc2Y7Bh63m03SAeL3m48m67WmMIXlkrx9LSCqdshioKjutRMrbSQN+A/3foiLoaSGg0b1HFzHYagQIdFDQP9O1GRy8o00HcLHltSqJxq9o/95wrD8+UDtDk+amcbTtmLn3QFW93Vhjq0wF/7Xmkqae8vj9fqZatA4J1boRNEQgeteZSXK+4tRvoMGUhajYKBirF66Lv4L3pnG60PWZ0EuSVaCRMPvnZhGt0p8io86EVGz7eTALjRuhIz7FLyPUFC+7fJ+zo7WbYx4yH7iqxY+R+nxzonCemY6SBPKJ+kdl5dp6Vvb3yx8v9IOv5D1FUhrLVzNDcn83jWBv7q/zKTFD0pgOniElx0qoxyoPn+DRq+7Ve/UjOA3fIvzlTlytdb0/h/lLCWfYeZmblWgwL4ahv2b42Tk8nQamAT5hKIH3+zINZWt/MmCFz6r+0MH1dDvGgB5SmHu488oXeTxnRHbmn0rjBVYFO9JJyOZ9eDtZC+kRLAETfWZyd5lNrmSmV7XLc4VrKejLJI5o6lagfh4bNGZ8TDAM9Vi9fHTaveFOPkTcbhVKoKnahjSqremSOCHUhn5jGPIM4o3iPHocT1cMjPf20rRegK0K3garrucFAr6DoJawekbTIiz5pofky94AayGu/6KP8OYFxVQV4hSD8at+t9D3PBPOWq70ZMkU/xaFAHMmrFUV9LUD0WyYpwthwRJS08wFS6wMsUe59z9cpTs+KyJaq682D/2Lqy3KcVU5CiKOUF0mOBAhilj/sItIbUi1X1pxBnDPMJLQVCSq1rxKhXxbp1EY58aHgfJsezj+PRLodSle143HVnwa4PM5E4fvyscB+vQ== X-OriginatorOrg: fibocom.com X-MS-Exchange-CrossTenant-Network-Message-Id: 288e9f2a-c0a3-464b-4932-08dc9fcefc60 X-MS-Exchange-CrossTenant-AuthSource: TY0PR02MB5766.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2024 04:24:12.9700 (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: 2eDK10EY6pMbIoXTgEMziq9HLZfEaEPf5cz6/NKvJuxLCuPmDxuacuSzzQn8XM2KkGFM+M5WjK2qX+kcw19OUE9NQwOkcfAzPC0x6iJt7JQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR02MB7365 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_212420_156186_891014B5 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
net: wwan: t7xx: Add t7xx debug port
|
expand
|
diff --git a/drivers/net/wwan/wwan_core.c b/drivers/net/wwan/wwan_core.c index 17431f1b1a0c..5ffa70d5de85 100644 --- a/drivers/net/wwan/wwan_core.c +++ b/drivers/net/wwan/wwan_core.c @@ -334,6 +334,14 @@ static const struct { .name = "FASTBOOT", .devsuf = "fastboot", }, + [WWAN_PORT_ADB] = { + .name = "ADB", + .devsuf = "adb", + }, + [WWAN_PORT_MIPC] = { + .name = "MIPC", + .devsuf = "mipc", + }, }; static ssize_t type_show(struct device *dev, struct device_attribute *attr, diff --git a/include/linux/wwan.h b/include/linux/wwan.h index 170fdee6339c..79c781875c09 100644 --- a/include/linux/wwan.h +++ b/include/linux/wwan.h @@ -17,6 +17,8 @@ * @WWAN_PORT_FIREHOSE: XML based command protocol * @WWAN_PORT_XMMRPC: Control protocol for Intel XMM modems * @WWAN_PORT_FASTBOOT: Fastboot protocol control + * @WWAN_PORT_ADB: ADB protocol control + * @WWAN_PORT_MIPC: MTK MIPC diagnostic interface * * @WWAN_PORT_MAX: Highest supported port types * @WWAN_PORT_UNKNOWN: Special value to indicate an unknown port type @@ -30,6 +32,8 @@ enum wwan_port_type { WWAN_PORT_FIREHOSE, WWAN_PORT_XMMRPC, WWAN_PORT_FASTBOOT, + WWAN_PORT_ADB, + WWAN_PORT_MIPC, /* Add new port types above this line */