Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
* [PATCH v4 net-next 0/6] net: enetc: Add i.MX94 ENETC support
@ 2025-10-29  1:38 Wei Fang
  2025-10-29  1:38 ` [PATCH v4 net-next 1/6] dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX94 platforms Wei Fang
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Wei Fang @ 2025-10-29  1:38 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, claudiu.manoil, vladimir.oltean,
	xiaoning.wang, Frank.Li, andrew+netdev, davem, edumazet, kuba,
	pabeni, richardcochran
  Cc: imx, netdev, linux-kernel, devicetree

i.MX94 NETC has two kinds of ENETCs, one is the same as i.MX95, which
can be used as a standalone network port. The other one is an internal
ENETC, it connects to the CPU port of NETC switch through the pseudo
MAC. Also, i.MX94 have multiple PTP Timers, which is different from
i.MX95. Any PTP Timer can be bound to a specified standalone ENETC by
the IERB ETBCR registers. Currently, this patch only add ENETC support
and Timer support for i.MX94. The switch will be added by a separate
patch set.

In addition, note that i.MX94 SoC is launched after i.MX95, its NETC
has a higher version, so the driver support is added after i.MX95.

---
v4 changes:
1. Revert the changes of imx94_enetc_update_tid() in v3.
2. i.MX94 appears to be earlier than i.MX95 in alphabetical order, but
it was actually launched later than i.MX95. To clarify this, relevant
description is added in the commit message.
3. Collect Reviewed-by tags
v3 link: https://lore.kernel.org/imx/20251027014503.176237-1-wei.fang@nxp.com/
v3 changes:
1. Use cleanup helper (__free(device_node)) in imx94_enetc_update_tid()
2. Collect Reviewed-by tags
v2 link: https://lore.kernel.org/imx/20251023065416.30404-1-wei.fang@nxp.com/
v2 changes:
1. Correct the compatible string in the commit message of patch 1
2. Remove the patch of ethernet-controller.yaml
3. Remove the patch of DTS
4. Optimize indentation in imx94_netcmix_init() and imx94_ierb_init()
5. Revert the change of enetc4_set_port_speed()
6. Collect Acked-by tags
v1 link: https://lore.kernel.org/imx/20251016102020.3218579-1-wei.fang@nxp.com/
---

Clark Wang (1):
  net: enetc: add ptp timer binding support for i.MX94

Wei Fang (5):
  dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX94
    platforms
  dt-bindings: net: enetc: add compatible string for ENETC with pseduo
    MAC
  net: enetc: add preliminary i.MX94 NETC blocks control support
  net: enetc: add basic support for the ENETC with pseudo MAC for i.MX94
  net: enetc: add standalone ENETC support for i.MX94

 .../devicetree/bindings/net/fsl,enetc.yaml    |   1 +
 .../bindings/net/nxp,netc-blk-ctrl.yaml       |   1 +
 drivers/net/ethernet/freescale/enetc/enetc.c  |  28 ++-
 drivers/net/ethernet/freescale/enetc/enetc.h  |   8 +
 .../net/ethernet/freescale/enetc/enetc4_hw.h  |  30 +++
 .../net/ethernet/freescale/enetc/enetc4_pf.c  |  15 ++
 .../ethernet/freescale/enetc/enetc_ethtool.c  |  64 ++++++
 .../net/ethernet/freescale/enetc/enetc_hw.h   |   1 +
 .../freescale/enetc/enetc_pf_common.c         |   5 +-
 .../ethernet/freescale/enetc/netc_blk_ctrl.c  | 204 ++++++++++++++++++
 10 files changed, 355 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-10-30  1:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29  1:38 [PATCH v4 net-next 0/6] net: enetc: Add i.MX94 ENETC support Wei Fang
2025-10-29  1:38 ` [PATCH v4 net-next 1/6] dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX94 platforms Wei Fang
2025-10-29  1:38 ` [PATCH v4 net-next 2/6] dt-bindings: net: enetc: add compatible string for ENETC with pseduo MAC Wei Fang
2025-10-29  1:38 ` [PATCH v4 net-next 3/6] net: enetc: add preliminary i.MX94 NETC blocks control support Wei Fang
2025-10-29  1:38 ` [PATCH v4 net-next 4/6] net: enetc: add ptp timer binding support for i.MX94 Wei Fang
2025-10-29  1:38 ` [PATCH v4 net-next 5/6] net: enetc: add basic support for the ENETC with pseudo MAC " Wei Fang
2025-10-29  1:39 ` [PATCH v4 net-next 6/6] net: enetc: add standalone ENETC support " Wei Fang
2025-10-30  1:50 ` [PATCH v4 net-next 0/6] net: enetc: Add i.MX94 ENETC support patchwork-bot+netdevbpf

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