Article View: linux.kernel.netdev
Article #3393RE: [PATCH net-next v2 2/5] net: enetc: Enable probing of version 4.4 devices
From: Wei Fang
Date: Thu, 15 Oct 2026 01:42
Date: Thu, 15 Oct 2026 01:42
38 lines
13955 bytes
13955 bytes
> + { .revision = ENETC_REV_4_4,
> + .dev_id = NXP_ENETC_PPM_DEV_ID,
> + .data = &enetc4_ppm_data,
> + },
You have reused driver data of the i.MX94, which has a system clock
frequency of 333 MHz. However, for the S32N7, I think its system
clock frequency to be 500 MHz. And the system clock frequency is
used for DIM. Therefore, you'd better to add the new driver data
for S32N7.
> + { .revision = ENETC_REV_4_4,
> + .dev_id = NXP_ENETC_PF_DEV_ID,
> + .data = &enetc4_ppm_data,
> + },
> + { .revision = ENETC_REV_4_4,
> + .dev_id = NXP_ENETC_VF_DEV_ID,
> + .data = &enetc4_vf_data,
> + },
> };
>
> int enetc_get_driver_data(struct enetc_si *si)
> diff --git a/drivers/net/ethernet/freescale/enetc/enetc_hw.h
> b/drivers/net/ethernet/freescale/enetc/enetc_hw.h
> index 2c9d9042eb0b..64789bd0f33e 100644
> --- a/drivers/net/ethernet/freescale/enetc/enetc_hw.h
> +++ b/drivers/net/ethernet/freescale/enetc/enetc_hw.h
> @@ -414,6 +414,7 @@ enum enetc_bdr_type {TX, RX};
> #define ENETC_REV_1_0 0x0100
> #define ENETC_REV_4_1 0X0401
> #define ENETC_REV_4_3 0x0403
> +#define ENETC_REV_4_4 0x0404
>
> #define ENETC_G_EIPBRR1 0x0bfc
> #define ENETC_G_EPFBLPR(n) (0xd00 + 4 * (n))
> --
> 2.34.1
Technical Details
Message-ID:
<AS4PR04MB9338EE95020485A9C5C45BCD889C2@AS4PR04MB9338.eurprd04.prod.outlook.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346479-linux-kernel-netdev=dewy.ruReferences:
<cover.1791908694.git.claudiu.manoil@nxp.com> <537a977b10b3d76c30b1f879f423bde4fd6f42f8.1791908694.git.claudiu.manoil@nxp.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346479-linux-kernel-netdev=dewy.ru From: wei.fang@nxp.com (Wei Fang) Newsgroups: linux.kernel.netdev Subject: RE: [PATCH net-next v2 2/5] net: enetc: Enable probing of version 4.4 devices Date: Thu, 15 Oct 2026 01:42:23 +0000 Organization: Usenet Network Message-ID: <AS4PR04MB9338EE95020485A9C5C45BCD889C2@AS4PR04MB9338.eurprd04.prod.outlook.com> References: <cover.1791908694.git.claudiu.manoil@nxp.com> <537a977b10b3d76c30b1f879f423bde4fd6f42f8.1791908694.git.claudiu.manoil@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="2426486"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:8HEg5yx/gZc03Oex0/LgFz2Lm08= sha256:83/5JoJXukZIQCa+IcvkJirw+aunzrsUkYU/EjLqsO4= sha1:EianqVPuRe+DpF/wF3W5fs3m6jo= sha256:+gdqJBBXXc4En9dwQXE0W+01KUFMHDWSzHjLrzRuRDk= Content-Language: en-US List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-MS-Has-Attach X-MS-TNEF-Correlator msip_labels X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id BB497110008; Thu, 15 Oct 2026 04:42:50 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -0.849 X-Spam-Status: No, score=-0.849 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=nxp.com X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dZ_z1l3UMXs4; Thu, 15 Oct 2026 04:42:44 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-346479-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=nxp.com X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 2FCAC10F05A; Thu, 15 Oct 2026 04:42:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sto.lore.kernel.org (Postfix) with ESMTP id 24B3C607204; Thu, 15 Oct 2026 01:42:31 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83F4A33C1B7; Thu, 15 Oct 2026 01:42:29 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="nweSX/Cn" X-Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11010069.outbound.protection.outlook.com [52.101.84.69]) (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 9AEF81FC0; Thu, 15 Oct 2026 01:42:27 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.84.69 X-ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792028549; cv=fail; b=cRbsNEG9lEh8urlU8d2QGksj2Vj3k0z9KJ7etmuerCidxTazQ2ZnhMgHpx7Wq7PRtRePjtiD8vdm+Sfo51IoUS1XQF0QOBSsRFOTsQ2c/gaaCj+ycFOZHGvFm/6ytF9CGaxYzn+axVOJ3Jh1Zp/hngmV4BGPxCCIYP1DSEjP1Uk= X-ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792028549; c=relaxed/simple; bh=XS1MbT71MeErVPwUgAlzZwqfQlvI+VUfRzj76d08Mac=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=q4SVKFPkI819xfeOMQKebg7+G5/LB9WLFykLllbUTcTvKf3lRb/Hsnk4YB0t59GyJcwl8qvXTSS5hX6gDSJqD2+s3DBx7KVkrpxnNVmsoWMH2OliKqKY3cVSS0OA6ua9W/Zj/iBNeb7HHVyI7C1j5B35EGUzOmeFAq4r46c+imQ= X-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=nweSX/Cn; arc=fail smtp.client-ip=52.101.84.69 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=m8GT9/u3zHzfCeAjJ636Us0KlskKoq2dRMOJV+MotQA2e61pSj851iRFSsWz54dgYti9CQ8ZJjzwiHhaRreX0Kzn3v3aeSMmpaly7FwW6DhVdKipow8aKvhT5W3WXXAYzPlI3rwIAF71kq57VK8W1d9fD/dy8uPpE9KnMdJjOlg6VnIFfLlnSJLcRzZVEc9Ur7+X7mfYCRQ7YlwuHR1M+IB64K19ueRkh06fXrFrqUVs/xXhFuGIMM0ALQBqu8MAvvQds52RlZa60bftIgI0LyDSjHKBeXUH/zdG3f1JccNJgfha7nqwoYmySXE5xw0rC9/CPh6RK8pLwaXHkNFVfA== X-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=dz5r6NE8c/Z/JxPswj8XRsAzjbbtlDhYnRGUcUNORrI=; b=lrq+nc0iXvrgb846N5inG7ZeqpO0pVQZCALFXQRU3/Pg5IZCy4XDDI4PgImuLMLM3e1R6DvjO2VcTljedEDJJYVZt1nUATtDFhp56idNRBmBRUlf7/T0GUtvjP7FRsFpZISNhWk7MvRMrNaPRu7A4B7goFcdGH6c6zzzCpNx4nzAj/kvpaqJ7NbT7pP7fcb+5gpV/t8Ga3xRGAjK7qc13Hg5zTTs6DygFuqRfy4xnjRKU6hfzdNqE/BAQzZdvl5Ja3YVK/6lSEmRqZnNMqiBd2VF9jzm6hmK9ONCVMW9pIIKee6wWEUyAA3Qhx6dJeVCBpTKhFvJ7MPxy0Il0R0iQw== X-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 X-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=dz5r6NE8c/Z/JxPswj8XRsAzjbbtlDhYnRGUcUNORrI=; b=nweSX/CnuCMB3Xefgv5VGqAax/DltoEdU2yzRsnYyB2b14TIeBONtzjTDU/404qa3A6RtyiGAK143ZveWRwb+UjvCAVS6mZT2eZW/KslodBrgQbhnwaxUfE14RgybQU5BuOg0evXDqRJ02CcGwn759TxPax2alyBTC0rsgIQuAFEuptoOZ/fjJHnmn9vco0DpOMWXznAFzPArMaF/vgpwvCn1YSiLLCRfx8IJrQ/TOGGIAA6CKZSyPK07WjUVWl+SPi70yoPBwfLWv2nEDtWNL2FJTiOIP2F1sViLhWCpfsaOFH2uvaGBD9hzqNPG1tRivH6p1FfVEiptWrnvOhm1A== X-Received: from AS4PR04MB9338.eurprd04.prod.outlook.com (2603:10a6:20b:4e6::17) by AS8PR04MB8214.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.13; Thu, 15 Oct 2026 01:42:23 +0000 X-Received: from AS4PR04MB9338.eurprd04.prod.outlook.com ([fe80::7c4c:9c56:8552:f680]) by AS4PR04MB9338.eurprd04.prod.outlook.com ([fe80::7c4c:9c56:8552:f680%6]) with mapi id 15.21.0522.012; Thu, 15 Oct 2026 01:42:23 +0000 X-CC: dl-S32 <S32@nxp.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Vladimir Oltean <vladimir.oltean@nxp.com>, Clark Wang <xiaoning.wang@nxp.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, "imx@lists.linux.dev" <imx@lists.linux.dev>, "netdev@vger.kernel.org" <netdev@vger.kernel.org> X-Thread-Topic: [PATCH net-next v2 2/5] net: enetc: Enable probing of version 4.4 devices X-Thread-Index: AQHdWzYXZeZbpCUZ5kqiSxB2ep/F1rb901Fw X-In-Reply-To: <537a977b10b3d76c30b1f879f423bde4fd6f42f8.1791908694.git.claudiu.manoil@nxp.com> X-Accept-Language: en-US X-authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR04MB9338:EE_|AS8PR04MB8214:EE_ x-ms-office365-filtering-correlation-id: 84bb843e-fb67-413a-8e08-08df2a5d8f82 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|23010399003|19092799006|38070700021|56012099006|11063799006|4143699003|261009223027099003|10067099003|18002099003|22082099003; x-microsoft-antispam-message-info: P44pI8A9zJK3KIp3fWcYTZ6NIXoEPLSrTocTmjhNyZpox2Zp1Wo6bt0YQ0iozGI6rZMWCumzEBfXOmCD1ddt4zpbeX4nmjGJK2k2w7j4KJ7jttygjd6pQ17xLQff9c3pEed33vqi5wQEaIH+9Gvm5DY0j6fhKF6l2wLxAhUe1zkxUf1zgTooLfQLjzL/78hfQS3fXbRDwipj4Owvl05IOH4sC011u89UAdQgCK1i/tLCW+8Mf2LjiMZJXrSzA7LitPVarDMll3Dvo0g74gqmxmQ3HGN4x1x+GP0lbS+Pujf5351isDrnu8h/Z1JjsOVqefxokvM7ig7sf0mtE7J6lGn+cZbgc08DK5rv+tYaEDiyqIRqdBSu21z5Sibw2IZKeIZtsWvo5zu6h+BikjOj+lJPvn6Q0pJnp6jXkG+QPeqmR5BhARWAVlNMdHlG/cqddCaeWg0koJPoliR3JmOFnsCF0gwY7PpsBODsgQOh4H27arQuOvYI2NeNngkNpdcgcQt5NpiK7xV3pgO0egSEpObx5P3L/sDRA0Vd7rhC+yRsXaH5h/Kmzi6JDmqAwdFmkGlCBHv7XBUsK55YabrQimahWBOym/zGPBiqeY0q4iWaVE1QXfSVyMX9RUDYsww96A5ELRMkIis99rWZ4Qpi5xxXa169ziy/EeNwPPGmZNu1gcYiGQMNFSkeQ5zKksAnIu/ipcyrKkxD9B/hEJRjEvQmeTSqwjf0qH0bzYPHZjk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR04MB9338.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(23010399003)(19092799006)(38070700021)(56012099006)(11063799006)(4143699003)(261009223027099003)(10067099003)(18002099003)(22082099003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: iCzQe6aFL/jEror3+XohTDmwH3oUg6HPi/hblZpyP5rAFhNyLqEKBxfDYvyTrMcFkHLzmJ7Y8stAtjR6eAFJvhxBTaTkw1foX/SClnbS9qIsd017mSJtcV3kffCAjMsMng0iGScPIoaaPrqxz2E/p9GZGpjDug6wzfgLTrmpJ4rOFV59VbVjpNSgZXuGGl0npbNMeJyAe13+2IMnazC2H4pV9/Oq/K9IuMbywmGwJC7vlcR/ZeKRl4Ce2Myj5f+rN6nfgfnq+nrI2S1uLNAxrOtf8lQ4YJnFPF2ndXELb5PM8xsUQSHxWIzbTrRZoE94bE3Cv1G6ZdPiQssR2lslTNOg/R1dGscVjd4Y8kWLNiqVUVyPwUyRkEcNNajaE4LdwM1vM1UQFuam1t10Q1wRBhtmSs0l8dB2nraJY042zQ7DfKTmhn7h8hsFua+GI6bN7W85LeH/Tp0QYYCNX2SjFhSAOq/Y+j5A3GvzeRVCm2jyEf10ohfWGKc7HhZ6wjQnKUm7o65fT5yNxOokIwM75vQ8lJ8zLCq/aBQTffUW/cV3gEfFo/AIc6TqCqx0oQovD9Hzl0LAV71pVM4tzMmiGtTHCT3e03AgOfo7ICQEe15RUtyAYnt41BsyaOIIWAG1UDCc4afsIMxcgrzbliD+qkZRZnz3zJpIlYhkf/SCYX71pEPFA1U/0fhdZ7iIM5jZOroqOPAlO/o+xrXD0Oe9w6OVFV64/fjYJjMXi3bNI2P4VeYbwuVU+f8K6SgljAWa8M773yJG0/T/BxhOzSStSFYpzmNvRArw3YiI/frrh1as+aotTUyqb9Zjd/We7MIrzH8JDibXvH8gny2Gt0SxTyokNor3RJ9V9jdm5m/s8EvNwjN/vYwYlNPUkVoXFVbIsNbMD5Ycv1God9LnDXJw/ZmD8XRla/5M90hIl1aMxhkX1Lu/5wLXDlJ164QAOEyI8JjQizoAfUwiR6HaaD8Q/AqBW0hWLGx6hJd0p5XXwp2lvmFHhS4AIcsTu0b4EbC7hvz7tSq9LOOu3ZREgMfuzw+qkQ7RUS9HGY+/fc9pTqHmdA2nnpvgrL6iJe1a+521karhv5W+TgRQlNHx/9dsmZeIgXKjS7X12EOELIqoMpWIRRkHSyTAtNmtrunIh5+70YHnikahE9lddCDApAKKOcVzLWz3gbI1zMp9twRPzCKuNNdloF+ZQTWxr4ZlEMdyKvQ/YX2eYd1lA8MKLeFTi3M/olhzCbAGnaHUfTEqB1MJrz5ewFx3fhIJRb2xH1eWE01bEZSelXvfKyis5DKwpkLsGF/fcBWPaVv1OZEiOxoaILDzl4i1xJ8am/lQyB2xPTCWvXAuwoHHFmDVH5Hdw3ykMJmnuoIQZONHAPTyfnbXlyn7WRX/88er/nUFCNn1Wol3mPj6ec88/rIvnCzmvfpc+ntozvxZercQ5wcR9TpnURqFP0XUoNIylrS6TpBAG7gEptbGs6rm6Ku6Z64rdY4WLEWfEIWqIacujOyr05GDGsvVH8dw/w5+7jXrxszZLHnvooa/QMP3+G7XdM1rus4CrSmBZNYbNb6evIyr+mesFisyO5eSq8CzvnQnLptd0RmnQuSwjcMmOVWUx8SxGvU2+pFZAK7CcKAEbi9i1VJ6pXRAz2EAkTDtGkdKbtiW2clg9FREdTcXlIvCwqpZfZxjFXX1EnMZ9d//0YSN2j7giLk2oWn3ChIhmDldjZDn X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR04MB9338.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84bb843e-fb67-413a-8e08-08df2a5d8f82 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2026 01:42:23.7568 (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: /vstDyNChjTG6OnBGhPmMw6u0VN8g0wBPUfXEQXPodo6+MLHuuzqdx++kKRHVtVJjLV6/stDZaY35lKdnErjtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8214