mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: enetc: Add i.MX952 support
@ 2026-11-18 10:37 Frieder Schrempf
  2026-11-18 10:37 ` [PATCH net-next 1/4] dt-bindings: net: nxp,netc-blk-ctrl: add i.MX952 compatible Frieder Schrempf
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Frieder Schrempf @ 2026-11-18 10:37 UTC (permalink / raw)
  To: Claudiu Manoil, Vladimir Oltean, Wei Fang, Clark Wang,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Richard Cochran
  Cc: imx, netdev, devicetree, linux-kernel, Frieder Schrempf

This adds support for the NETC Ethernet controller on the i.MX952 SoC.

i.MX952 has two ENETC instances (IP revision 4.6), each on its own
PCIe bus. ENETC0 shares bus 0 with the NETC timer and the central EMDIO,
ENETC1 sits alone on bus 1. The NETC system clock runs at 133 MHz,
compared to 333 MHz on i.MX95.

The patches are ported from NXP's lf-6.18.y vendor kernel. The device
tree changes for imx952.dtsi and the i.MX952 EVK will be sent separately
to the i.MX tree.

Tested on the i.MX952 EVK with ENETC0 (RGMII): the link works,
hardware timestamping is available and the PHC runs at the correct
rate. ENETC1 is untested as it needs an add-on board.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Clark Wang (2):
      net: enetc: netc_blk_ctrl: add i.MX952 support
      ptp: netc: use 133 MHz system clock on i.MX952

Frieder Schrempf (1):
      dt-bindings: net: nxp,netc-blk-ctrl: add i.MX952 compatible

Wei Fang (1):
      net: enetc: add i.MX952 ENETC support

 .../devicetree/bindings/net/nxp,netc-blk-ctrl.yaml |  1 +
 drivers/net/ethernet/freescale/enetc/enetc.c       | 23 +++++++
 .../net/ethernet/freescale/enetc/enetc_ethtool.c   |  1 +
 drivers/net/ethernet/freescale/enetc/enetc_hw.h    |  2 +
 .../net/ethernet/freescale/enetc/netc_blk_ctrl.c   | 73 ++++++++++++++++++++++
 drivers/ptp/ptp_netc.c                             |  7 ++-
 6 files changed, 106 insertions(+), 1 deletion(-)
---
base-commit: d6816d9a93b66a12bf01e10037e377f3333ad6cc
change-id: 20261118-imx952-enetc-bd2bc331e1b5

Best regards,
--  
Frieder Schrempf <frieder.schrempf@kontron.de>


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

end of thread, other threads:[~2026-11-18 13:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 10:37 [PATCH net-next 0/4] net: enetc: Add i.MX952 support Frieder Schrempf
2026-11-18 10:37 ` [PATCH net-next 1/4] dt-bindings: net: nxp,netc-blk-ctrl: add i.MX952 compatible Frieder Schrempf
2026-11-18 10:37 ` [PATCH net-next 2/4] net: enetc: netc_blk_ctrl: add i.MX952 support Frieder Schrempf
2026-11-18 13:51   ` Andrew Lunn
2026-11-18 10:37 ` [PATCH net-next 3/4] net: enetc: add i.MX952 ENETC support Frieder Schrempf
2026-11-18 10:37 ` [PATCH net-next 4/4] ptp: netc: use 133 MHz system clock on i.MX952 Frieder Schrempf
2026-11-18 10:43 ` [PATCH net-next 0/4] net: enetc: Add i.MX952 support Clark Wang
2026-11-18 10:50   ` Frieder Schrempf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®