Thread (7 messages) 7 messages, 3 authors, 2026-05-15

[PATCH net-next 0/4] net: dsa: Add NXP i.MX RT1180 NETC switch support

flat view
STALE149d

From: Minghuan Lian <minghuan.lian@nxp.com>
Date: 2026-05-09 09:06:45
Also in: linux-devicetree

This series adds DSA support for the NXP i.MX RT1180 NETC Ethernet
switch using the Heterogeneous Multi-SoC (HMS) architecture.

In HMS systems, the i.MX RT1180 MCU runs firmware that manages the
NETC switch hardware, while a host SoC (e.g. i.MX93/i.MX94) runs
Linux and exposes the switch ports through DSA. The host communicates
with the RT1180 over SPI to configure the switch and exchange control
traffic.

The series includes:
- DT binding for the switch
- HMS tag protocol using tag_8021q for data and meta frames for control
- DSA driver with SPI transport, phylink, FDB, VLAN and bridge support
- ethtool statistics support

Minghuan Lian (4):
  dt-bindings: net: dsa: add NXP i.MX RT1180 NETC switch
  net: dsa: tag_hms: Add HMS tag protocol
  net: dsa: hms: Add NXP i.MX RT1180 NETC switch driver
  net: dsa: hms: Add ethtool statistics support

 .../net/dsa/nxp,imxrt1180-netc-switch.yaml    | 118 +++
 MAINTAINERS                                   |   9 +
 drivers/net/dsa/Kconfig                       |   2 +
 drivers/net/dsa/Makefile                      |   1 +
 drivers/net/dsa/hms/Kconfig                   |  14 +
 drivers/net/dsa/hms/Makefile                  |   9 +
 drivers/net/dsa/hms/hms_config.c              | 253 +++++
 drivers/net/dsa/hms/hms_config.h              | 259 +++++
 drivers/net/dsa/hms/hms_ethtool.c             | 346 +++++++
 drivers/net/dsa/hms/hms_main.c                | 938 ++++++++++++++++++
 drivers/net/dsa/hms/hms_spi.c                 | 116 +++
 drivers/net/dsa/hms/hms_switch.h              |  73 ++
 include/linux/dsa/tag_hms.h                   |  28 +
 include/net/dsa.h                             |   2 +
 net/dsa/Kconfig                               |   9 +
 net/dsa/Makefile                              |   1 +
 net/dsa/tag_hms.c                             | 366 +++++++
 17 files changed, 2544 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/nxp,imxrt1180-netc-switch.yaml
 create mode 100644 drivers/net/dsa/hms/Kconfig
 create mode 100644 drivers/net/dsa/hms/Makefile
 create mode 100644 drivers/net/dsa/hms/hms_config.c
 create mode 100644 drivers/net/dsa/hms/hms_config.h
 create mode 100644 drivers/net/dsa/hms/hms_ethtool.c
 create mode 100644 drivers/net/dsa/hms/hms_main.c
 create mode 100644 drivers/net/dsa/hms/hms_spi.c
 create mode 100644 drivers/net/dsa/hms/hms_switch.h
 create mode 100644 include/linux/dsa/tag_hms.h
 create mode 100644 net/dsa/tag_hms.c

-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help