All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next V2 0/7] net: enetc: add i.MX952 NETC v4.6 support
@ 2026-11-27  9:47 xiaoning.wang
  2026-11-27  9:47 ` [PATCH net-next V2 1/7] dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX952 platforms xiaoning.wang
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: xiaoning.wang @ 2026-11-27  9:47 UTC (permalink / raw)
  To: netdev, Andrew Lunn, daniel.baluta, frieder.schrempf
  Cc: Claudiu Manoil, Vladimir Oltean, Wei Fang, David S . Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Richard Cochran, imx,
	devicetree, linux-kernel, Clark Wang

From: Clark Wang <xiaoning.wang@nxp.com>

This series adds Ethernet support for the NXP i.MX952, whose NETC is
revision 4.6. Its NETC integration differs from i.MX95 and i.MX94 in
the following ways:
 - there are two standalone ENETCs and no switch: ENETC 0 on PCIe bus 0
   (RMII/RGMII) and ENETC 1 on PCIe bus 1 (RMII/RGMII/SGMII), plus a
   single IEEE 1588 timer;
 - the NETC system clock is 133 MHz instead of 333 MHz;
 - the reset value of the ENETC 0 Tx byte credit registers is too small
   for jumbo frames.

The DTS patch set will be sent separately after this series is applied.

---
V2 changes:
 - Add preparation patch 2 to factor out the common NETCMIX link ID
   lookup, 'phy-mode' to MII protocol conversion, and i.MX95-style MII
   protocol register setup into shared helpers, reducing duplication
   across i.MX95, i.MX94, and i.MX952.
 - Add preparation patch 3 to share ENETC port MDIO PHY address
   configuration in IERB across i.MX95, i.MX94, and i.MX952.
 - Rebase patch 4 due to the code base has been changed.
 - Add preparation patch 5 to look up a VF's 'ptp-timer' phandle from
   its PF device node via pci_physfn(), so ENETC 1's VF on i.MX952 can
   locate the shared PTP timer on PCIe bus 0.
 - Rebase patch 6 due to the code base has been changed.
 - Adjust the order of NETC_TMR_SYSCLK_133M definitions in patch 7.
V1 link: https://lore.kernel.org/all/20261104092217.1730351-1-xiaoning.wang@oss.nxp.com/
---

Clark Wang (7):
  dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX952
    platforms
  net: enetc: netc-blk-ctrl: factor out common link MII protocol helpers
  net: enetc: netc-blk-ctrl: share ENETC port MDIO PHY address config
  net: enetc: add i.MX952 NETC blocks control support
  net: enetc: look up VF ptp-timer from its PF device node
  net: enetc: add i.MX952 ENETC support
  ptp: netc: use 133MHz as the default reference clock rate for i.MX952

 .../bindings/net/nxp,netc-blk-ctrl.yaml       |   1 +
 drivers/net/ethernet/freescale/enetc/enetc.c  |  23 ++
 .../ethernet/freescale/enetc/enetc_ethtool.c  |   4 +-
 .../net/ethernet/freescale/enetc/enetc_hw.h   |   2 +
 .../ethernet/freescale/enetc/netc_blk_ctrl.c  | 336 ++++++++++--------
 drivers/ptp/ptp_netc.c                        |   7 +-
 6 files changed, 224 insertions(+), 149 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-12-01  2:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27  9:47 [PATCH net-next V2 0/7] net: enetc: add i.MX952 NETC v4.6 support xiaoning.wang
2026-11-27  9:47 ` [PATCH net-next V2 1/7] dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX952 platforms xiaoning.wang
2026-11-30 21:29   ` Rob Herring
2026-11-27  9:47 ` [PATCH net-next V2 2/7] net: enetc: netc-blk-ctrl: factor out common link MII protocol helpers xiaoning.wang
2026-11-27 10:16   ` Wei Fang
2026-11-27  9:47 ` [PATCH net-next V2 3/7] net: enetc: netc-blk-ctrl: share ENETC port MDIO PHY address config xiaoning.wang
2026-11-27  9:47 ` [PATCH net-next V2 4/7] net: enetc: add i.MX952 NETC blocks control support xiaoning.wang
2026-12-01  2:00   ` Wei Fang
2026-11-27  9:47 ` [PATCH net-next V2 5/7] net: enetc: look up VF ptp-timer from its PF device node xiaoning.wang
2026-11-27  9:47 ` [PATCH net-next V2 6/7] net: enetc: add i.MX952 ENETC support xiaoning.wang
2026-12-01  1:54   ` Wei Fang
2026-11-27  9:47 ` [PATCH net-next V2 7/7] ptp: netc: use 133MHz as the default reference clock rate for i.MX952 xiaoning.wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.