From patchwork Wed Oct 9 09:51:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 13828108 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013065.outbound.protection.outlook.com [52.101.67.65]) (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 200FC1922ED for ; Wed, 9 Oct 2024 10:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728468421; cv=fail; b=uEeqTFjbKq+T86T4V5NQdYpvN9J3gv4QgTh9w2VQ5Exj3fv8cLKt92d3DS3qVzShAj18g2DtCMFNbrrnYXrGir6LB+c3yshHfDOnYM580MCWOhBZ9O+o2SCb9AXRWSerW/jCbOjRbg8KxQcl9LnNxNCQDmHtJ9cJs4mhvnK2xAw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728468421; c=relaxed/simple; bh=ivBpcJ2SCZ0haFIfaO0WHqrg5WxHhL2KGehjbDcpqes=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=fkYVEMvqiurwe707kPX/XzjCzUtB3mq6EhM2EGsp4KKM0GjoMAj0lx7uZVgSXm5Nk1zoRUIHQe0WEL6AG1Qu2Gva6ug4APmKKbimM51l+/Hc3Sc6xGONbffSey+ySgSxgOrNm1ekLxjf/vXSFLW4U3/IwcVvh/Da2Me5F99RbuQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=Lzt6/rWe; arc=fail smtp.client-ip=52.101.67.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="Lzt6/rWe" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HSE/ldxOTCho61kV68bMp+S/HYoWhDFY3f61XJ/9tZcSqoqGujvuLsRdSmi464gmknmiXZePI0oqHwBQp+Upqh4bx6++go6pkESpuvfeBIxkdk9aUgqQiwtI/w3q02LOZMi4mspRcGDPjKXxsh1tXf4xVYIs1jSudxifGO8TMD8uzGpfNrYyXWTEsjtqJoNwGd5gBpTY8MWZwKm9elHBxTdGtf6FssWIanX/8brZDbSO7Oo/YjdLXUwfqldOD8u/8MKPJC9QUtUCi7W0pWxgwuLDIwJQsNGNlKBQgfvN2agHvxwecQ9x5HzG0cRH6FvFYVCAog8uIAq2Q4Jp16peOg== 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=Cx3seEEpKe34KsMUC8CLUiN3V8WBcwJm17eLUO7vDyI=; b=EiHAikIMu6EvwM3/QtPuBc9LUATtU/y/c53mmKb9/Z5CBx6HcGAztJK2+Xdjm7oEVFi6/mp0CGzIbhesXy/L4nhqzkGVCK+MVXfq4JypPp9WC/2DkTljZzedVcAr8eeGg3hplThKdEe9kFTsJ03ussiai9e2A9ggwJI5GfaLqkl7lggfzQbsm82NmKHMTRQ0RV2mzUGt8v+LuyDn1w1aMtws3GA988ZJJNI9ZNKh/dPhNjfHj24YDwl2YATgDa9ja5+rTlbdvbBRhqlH3p1hmS/Vjq4RKalnbt/JabYM+cNoV/bKdEWaoPgjGY/wNYrNHAjK/G6mJ+Bnw2NDFCq/oA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cx3seEEpKe34KsMUC8CLUiN3V8WBcwJm17eLUO7vDyI=; b=Lzt6/rWeWM3BkdD7mbPobtHkx2T3hoxZ+2dh/SBjnxGSvdae67+RjVvED2NcEGn91mXZ0hqB9Kh6VKcuZMGQbGPoefk3xOQTzc+FvTJ7ApXKa5mOyxMUfM/yyzIsWoZCZ8lHYKgvmYia6VXEBoGJPDqS52KZv3AiMphsGP7mHYQZ1GH5wefcxYvds4vxeONwPoHcixWIG8N/OvURYSyweQ1NeZ4aEZ0N+EWbZl54+OjS++ZfRNm92JFlB0HoklumeQ6NdyPxTvvdSDUR6a1HpiwG0ycHj5Go8PtV1UZy3Qfgl26R2gTxUNEWXNDlL09l4GF4yOgIWCf1uCAbPn49MQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) by GV1PR04MB10154.eurprd04.prod.outlook.com (2603:10a6:150:1ac::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Wed, 9 Oct 2024 10:06:56 +0000 Received: from PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db]) by PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db%7]) with mapi id 15.20.8026.019; Wed, 9 Oct 2024 10:06:56 +0000 From: Wei Fang To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vladimir.oltean@nxp.com, claudiu.manoil@nxp.com, xiaoning.wang@nxp.com, Frank.Li@nxp.com, christophe.leroy@csgroup.eu, linux@armlinux.org.uk, bhelgaas@google.com Cc: imx@lists.linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH net-next 07/11] PCI: Add NXP NETC vendor ID and device IDs Date: Wed, 9 Oct 2024 17:51:12 +0800 Message-Id: <20241009095116.147412-8-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241009095116.147412-1-wei.fang@nxp.com> References: <20241009095116.147412-1-wei.fang@nxp.com> X-ClientProxiedBy: SG2PR01CA0175.apcprd01.prod.exchangelabs.com (2603:1096:4:28::31) To PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8510:EE_|GV1PR04MB10154:EE_ X-MS-Office365-Filtering-Correlation-Id: c0950e16-8eb7-4494-a6dc-08dce84a1b35 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|7416014|376014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: 5MUSQSFKjC4JQkujCxW/oSHeNeLC3oOZ3CnJs2RVpQs7ER+RqnyZZEQ51Dq4HG41hOrealIBU4fURNYQt7zYF/xDU/IQl8Fa7n4KcPcM26Xh5JFDELU9ldB/O3KAfi3ao36aSE3GvGPV5IC+qlDT14X/gZm9f3jzi7HXG+P7HedZI4djEeLdmZeZiU7IdhXwtEjyORTMK+Z+pg30mfC02H7+NiTTa7XgckEPDe/HUePfHd+GxjL28+nGt3lknf8IlMda1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U36rzuN8oWMnUH3Ck1nqLfj/KtUvmp6fpvzv03vMM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8510.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(1800799024)(7416014)(376014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i7BHmiwi10yxS/lhdK17M/90Dj6NfahOMVWzHPX2/DA9BUYbHDB3HfMqvfWtLxk4wW74ecWBs1JsTLo/95/M26FpBTZGBuDxGtgWDA0Ui9+5qoWMGyJYiUl/eDE6e3nBjPBdznPp6ZPqh3WAx0zYtjQqxWQbAU5psjOm5BJJxbRDxVWVNV/EESKid4wSAevtt5NBAHbOFoCdYkqv8cE84VoOwxw+UERl+ap1TTkWXFMfSCYsyrlJvQgh2JH46REmA8svTU8gDjsslktd2EJdBf7XCCB4YeIkf0oT6BwWQ5kmEzUxZUrge3OIuHtNFqFQgikpqe1JmBEAO6wBG0WuoRO4LYe2Fk38kUN9WC7mUCqLcLb0OmYEUFMXMQxAZ0scZylCQSacB9Q2dbJUiBQcNugD0g4+X7hXROGqSGVgzXbYWcYUZypDyHU7jtwXzyqxyK/i+hGhJxPIRcepZ1vqltex1pv+kjodfqwwpnQtothfnFY67jvGNohrRO0l03Ys1jBXwEsiFiUjVqd5bNfY7m6djAHfrzxeIwcuUR7iNGqAYMa06YbO20PohQ6O1jGT+ywpdw5/KVhNDn17w7ZcsHbpWq8TOA1thD0rXppqdzYT9NbyzNM8t80N3pOOAAdCCorAqMbkcKcb7XxVUHcKk/Vro806EYL+hrfLvrVQxyThwm2xypzCpiUGEGz5jjpwPfowqW+2hBMzDahf8CVPe0HkZn3NnmKWhqNHBXT5B4Z0sBeIWjSWVWB8oeiXsHp33WLOSG6W9v/Woz18aTp3eqn/mN6DwBHmW6P4qBcRD9LKpvtyYHGn+33oCh4rFnzQVVgfAk1yuJ09/tpDZ+BqpR9VvOGtOMD6y+YPim2W5mSYrAm7VV9piEdEDCQQxQlRt5P/c5IZPoawJhGA1Dff+ecnPIbGxOMvCR3/tGLkEcKXPEU6s2Y5fR0Y8idaXxYCheM2kp/kYzLLZsK4IuV2UDLfnjcQT1es+rDkcmWOTHgeWlLWwZPy0z03i/QmZudD5FIVw4xjUGfizms8Ro4+7KBsB86IcZ4zXDIDUzaVrcT1mT9C/XNnHmn5GXGHi407rc/G0p99HKQpoXi1hFW5S7U1V343PVm+qOq3oJswvSoEtVCivAWXO4sNHMUvep6sIl+LfDVEdB1iBGWKwa+yZPBhM2EU3Vwa2HCKaT0Hbzmx4q3deaXX8PjgFUB89Qgz//nI2IYgGB7ed8awaJjAUE0LQPO0s69G7RpW99xM2CwOMnoc+cEynBz9nQYR+W92hI9XTmAEFTXY9nBCsEyj0uyDsIIiZY/KdMy4Sv1iojEjaRVDoTi5AgNCwSrKlHTZ/MsVoXGrGSvHfD7UDR9ezYR44WlM6PSqT3r8Q76DtBMoltdJWCUcIw1EMYCMzfRZv7VWNpA0yLF8x42Em8UcBDJ+TsUN/WloHyOVU0aMafzdrWFeB/277ihRkG0EWRtpgF8M5upNr36EHcezPIYH0NfgGu2/rxgHlcKfz4IJX53OWpoyMzkVC7Vz+c9LXL30QnsFh8ryEc39eUmDmhrwCvmnMRSlNYVG3UV4lXYLZOV5AxviPpLSHT8k/GhN1lwh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0950e16-8eb7-4494-a6dc-08dce84a1b35 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2024 10:06:56.4627 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kZlgP/hhEA7No2nkT0GQqzCcmJM9EqxvbgChhL/s9Sg+dnl0CK6K33xtg9m+brQWL4Qlfyr3gs+H97eCqA2qNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10154 NXP NETC is a multi-function PCIe Root Complex Integrated Endpoint (RCiEP) and it contains multiple PCIe functions, such as EMDIO, PTP Timer, ENETC PF and VF. Therefore, add these device IDs to pci_ids.h Signed-off-by: Wei Fang Acked-by: Bjorn Helgaas --- include/linux/pci_ids.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 4cf6aaed5f35..acd7ae774913 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1556,6 +1556,13 @@ #define PCI_DEVICE_ID_PHILIPS_SAA7146 0x7146 #define PCI_DEVICE_ID_PHILIPS_SAA9730 0x9730 +/* NXP has two vendor IDs, the other one is 0x1957 */ +#define PCI_VENDOR_ID_NXP2 PCI_VENDOR_ID_PHILIPS +#define PCI_DEVICE_ID_NXP2_ENETC_PF 0xe101 +#define PCI_DEVICE_ID_NXP2_NETC_EMDIO 0xee00 +#define PCI_DEVICE_ID_NXP2_NETC_TIMER 0xee02 +#define PCI_DEVICE_ID_NXP2_ENETC_VF 0xef00 + #define PCI_VENDOR_ID_EICON 0x1133 #define PCI_DEVICE_ID_EICON_DIVA20 0xe002 #define PCI_DEVICE_ID_EICON_DIVA20_U 0xe004