Message ID | 20241026090921.8008-2-jinjian.song@fibocom.com (mailing list archive) |
---|---|
State | New |
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 BDC1DD10BEC for <linux-arm-kernel@archiver.kernel.org>; Sat, 26 Oct 2024 09:13:31 +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=2CVB7DGPsHwnsQCoXB7SBZjklEmEnihl9vo2LqNcsog=; b=QDs+czssdoFBarJ6UkIS/hefoz 1q3HPqZ0QPJcGhKpupg3i2hbdIJ07IXXcoS/rrDLetaVQH8IheRpt0vyMgo3G8/YDZtSYWuynPunK x/m4ck8s82jY3jB7CdIGhufpm1xeIuAdaIKvayBqTKxVRdw1/wlpQaN3zBg7WeqlgKspnGJumQF1W yhqCXSrMXaGMNLf9tk1UYcytFEEX/hTHp7Kup04ARTAateVkiBQuA7MN/sjM9JdUth+nnH0rU9ZZp 1wxmHqAP78Na+XxdHhYGePW/WKq82aQSgjzZlDUalkkYkOisE8UuVKBSA0drTqnMeWBubObW6N8hA 2e/457YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4crI-00000006Hai-2CaC; Sat, 26 Oct 2024 09:13:20 +0000 Received: from mail-psaapc01on20726.outbound.protection.outlook.com ([2a01:111:f403:200e::726] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4coB-00000006Gx4-1faG; Sat, 26 Oct 2024 09:10:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VCXJz4+gNErGrMTtjA2x1zFZbQJVSKB12+dnGDthRDmTnfcOLB3P5avGjTLl2fKuF3l6Fs9HQAQabncGDjmlZlnLdDy6w9mFdDrZU/7X04fSFbY+pgEiIVaR3/dIMZ8PTOmaG7d4bBKtpUZd4/uard2/MgFQX2sEvLO1jCgpigDssyBop4RymcGaRDuzPUEMtUoloWm4/7lBPoMpRimR1ghxI2rePRjNSCMSddCs9UudJIWZybsDKVHYSrPdgThWF7SzlT+MxfioKaMKTkWGwI3K4fUTmuomb5c1sdsh9FciSQMRxaHp6fZcof8KKzw2adtcfbWMdbtHqn/9kGRgpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=2CVB7DGPsHwnsQCoXB7SBZjklEmEnihl9vo2LqNcsog=; b=kNJfnGfDeTIsMMKmWdpbdZqB9qAPXHkKcg4GVFp8gZkFF69naM0pyAGwNtaoLE/eqha5zM72uyFG5xHVU0tgx9GK9bfg1XUNlgPMfUIuQQYcIMKBULWVVR3NMGRZbfsnjIheRwBUZtswe8j1cj1lDdtuBOJxH5kvNsmkpC81dh3QTeyM9Wxu9hsDsb8i/SB37AZXYBbfT7DxMInzDBnvuuq+seylIjjGgA8cDIZ5C/fqe+R1nD9T5rVGMFkiSAFiIy+2BvsLB5T/mPHKmb8PpJ1TE0bjEe6bL9RI+ueGHIavFBtOYHDuIDyT8nLIPfM9QLps6W0ible0VMK8ILcb0g== 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=2CVB7DGPsHwnsQCoXB7SBZjklEmEnihl9vo2LqNcsog=; b=s8mNrATXjk/zZkYXAjsrryB2krhrWC5de2M8PRQJ9mwdYB0uozBcAGGerEEW4ZJ1zOHfsCQfIe4x89HIgq/FmHegB940DtE8/QF3BttszxBvBCwcjML+UmkgzsD9+TXDYZ0KazrRTASrPvnxdat4h4+09fimwRRZRBKV4cogJa8= 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 SEZPR02MB5864.apcprd02.prod.outlook.com (2603:1096:101:73::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.16; Sat, 26 Oct 2024 09:09:49 +0000 Received: from TY0PR02MB5766.apcprd02.prod.outlook.com ([fe80::f53d:47b:3b04:9a8b]) by TY0PR02MB5766.apcprd02.prod.outlook.com ([fe80::f53d:47b:3b04:9a8b%4]) with mapi id 15.20.8093.018; Sat, 26 Oct 2024 09:09:49 +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, linux-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, helgaas@kernel.org, danielwinkler@google.com, korneld@google.com, andrew+netdev@lunn.ch, horms@kernel.org, Jinjian Song <jinjian.song@fibocom.com> Subject: [net-next v7 1/2] wwan: core: Add WWAN ADB and MIPC port type Date: Sat, 26 Oct 2024 17:09:20 +0800 Message-Id: <20241026090921.8008-2-jinjian.song@fibocom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241026090921.8008-1-jinjian.song@fibocom.com> References: <20241026090921.8008-1-jinjian.song@fibocom.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0186.apcprd04.prod.outlook.com (2603:1096:4:14::24) To TY0PR02MB5766.apcprd02.prod.outlook.com (2603:1096:400:1b5::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY0PR02MB5766:EE_|SEZPR02MB5864:EE_ X-MS-Office365-Filtering-Correlation-Id: 915198c9-c44c-45f6-da2a-08dcf59df185 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014|52116014|38350700014|921020; X-Microsoft-Antispam-Message-Info: +c6l/jxl7NYaw5AU53/xRYzdwn6u5WSHDCqUI4LnUWMexIDF1BH3o4t28UqfxTuMWlezHbt2rTCzTo4/1uFjg8ZNMAJta9ZuHcd8NvJo0Dm+wduTDvfF6TExltOz73abh+uXgjAZoYRZT9O8VVdrhfgLUuIt9lHRDmkiMGbZ7GuPCQezb3J9ZKj026Ucw+DTnYJShU8x7OlMMSWCZYGklPPnLeiC6oDO7X0thOSfeHtAO89Twy/sacXWIISqdq5pt0wjvORMjfVzz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5O4q3p9qKSd8H5VUUdVfNaQedf2BEZq7oCcWa0ErB9lebYtUHbIx/xfdDIlzhyetY3 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)(1800799024)(366016)(376014)(7416014)(52116014)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jK55PTZNGOnY/1iyymzPOKzSYcVbOnYiqRlUQKKmzSv8TKs+D5ZoD6Pom6oYY8fKL5B/Knbtvj0hkKf2CCuhxvn2Ig9BUv1rZWNJE83Zwo1qZRCAfq5Vm76E+g3tH1HBeeJblC5xdWAKqn12bTStN+RUxGRRxQITlzu4uHcA68P1sjtQx41RgtOJR0urg/E+ZSAVv7H1AKn0G8zkwQo3s+AWt9Wrf/SN9BJ2w1oB5E/6jkDso48szgVTFXqHEGbhhy+YnXk9dNNFglzSQfPEaYRvjLpnGLhACq8xnQr51dON/WiPYsVsGgDPegrV9bBMbQRrcUEXlmFIlHc6soPMa6j+5F8+h604grgXxZubuE/0BveEcUhy083ngaAG0Y8Pr/hccATKHGOPlsJWRDtjoH6zH+jz1hsZZL+r+c/ARIqA+3/jH/HTdE75wJvltmNdVcOiN2B8MkHK70VauwNOFjDxfArRzhuLYDMWygwxVTPXADIrKatTconk9LN5IlM0TNuE2jPUA9Ujae5MXno0LVBkCXtqacX9gPVcjwWJBCnQ5a3APhrebfQaKRltazbgah+YXU+aWOLliAtic8cg2w0yaxg7aJnVTIdQcwirupT94DceOFr55hcKZyy+k9WZ/MIJ1mcQhDRWDqSn0qserGvo2kGO4IycH536kKbtl51LmJEs4ATp/wrLyQgdGwpn+mshWdQrytY0GcAy/49TKa6vuiwcuJdzTaSn77JV8KnEAZkCRpXZs8GlhOPP17F5e4R+/skq3s1fbm/hngE7G3EmaTZgNZeWsV/MC9H3n/5G/Lw4YlH/ex89CN2p0GDhl4tfOepsEhnKYTamGNqiMvFKsd04OLxEhYOgV8aHSzYNeHf4u9DzZqbKvGLZ8PAjNz494qt4Sri2dgVfGAXUwOcbbUgy6aUlENoW/q2rDpnWnF2D8xrCzHGBYYjYzd2R21SVQVIDL3LM0+ro23f8I3134twFe1J/J7xlFIGLXvH8vKbFV2iVLcgEzsBBrqOl3q63PSwYQJZxBqgI0LzfOOL5CsTvdIikTtXySfJ5aU6p5MTp6M3knRRsN8q5EH2txJ9rygYug+xnfal61QRDlLhJPcGnj+SbXw+l1efNfX8NBk6p/c/eMhCnZ11mUzNcl7u7/lNZ0agol6U7N7wrD8Y9LMUU+jRwySlj1XpQw0BLqWQzhd11Vq8DeCFUvXB58wRZvtT5nlYvxxlOUTA7B0o98AtGD3gEZGaQBRRjV5qSQs3cJq/ekn/4gqtsfHXea13OjUtnnancz2jfBdFKlCg5qTvfkWBUqDZy0LJ30wHu4cUB93zk6zc3/JjgxZQWLAT2Hpn0lMlZLz6vzdGXpc90a1wei/w0Dd3AZDs7OMhC/oYEuH5LLoGim2kd7E5vynkwQRHhV16bgrREvbyjP9yBpDZ0NqjSOYsURvK71K1039fO5qIg0pRDs5zu4rAdDj0nMfby72xQKsyY7e3/OK19vFqWfq1LUdY1UgI8eFoBrZjY/ogmrFWa+xyB4cOVavD8DmTGCLwLCSN4AviT9DAFVRfKxPjbQpwhR2dGulBRvyEgiBaT1HqwGrd/L+y1pvUspZOaR77/09VY1b/0KQ== X-OriginatorOrg: fibocom.com X-MS-Exchange-CrossTenant-Network-Message-Id: 915198c9-c44c-45f6-da2a-08dcf59df185 X-MS-Exchange-CrossTenant-AuthSource: TY0PR02MB5766.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2024 09:09:49.5459 (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: xtmjRcFsBN5lDuEwQFEME3T8nPTMyEsXWnhL3aWlYqPr84rWapOZNhcXcF0s4wHjga+3gRIDESWxC+PMZqgrXZvDsKaCSCFUpvZAusp+TB4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR02MB5864 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_021007_468887_7B733CCC X-CRM114-Status: UNSURE ( 9.61 ) 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 */