From: Minghuan Lian <minghuan.lian@nxp.com>
To: netdev@vger.kernel.org
Cc: devicetree@vger.kernel.org, andrew+netdev@lunn.ch,
olteanv@gmail.com, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
Minghuan Lian <minghuan.lian@nxp.com>
Subject: [PATCH net-next 0/4] net: dsa: Add NXP i.MX RT1180 NETC switch support
Date: Sat, 9 May 2026 18:06:28 +0900 [thread overview]
Message-ID: <20260509090632.2959553-1-minghuan.lian@nxp.com> (raw)
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
next reply other threads:[~2026-05-09 9:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-09 9:06 Minghuan Lian [this message]
2026-05-09 9:06 ` [PATCH net-next 1/4] dt-bindings: net: dsa: add NXP i.MX RT1180 NETC switch Minghuan Lian
2026-05-09 9:06 ` [PATCH net-next 2/4] net: dsa: tag_hms: Add HMS tag protocol Minghuan Lian
2026-05-10 9:10 ` sashiko-bot
2026-05-09 9:06 ` [PATCH net-next 3/4] net: dsa: hms: Add NXP i.MX RT1180 NETC switch driver Minghuan Lian
2026-05-10 9:10 ` sashiko-bot
2026-05-09 9:06 ` [PATCH net-next 4/4] net: dsa: hms: Add ethtool statistics support Minghuan Lian
2026-05-10 9:10 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260509090632.2959553-1-minghuan.lian@nxp.com \
--to=minghuan.lian@nxp.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox