]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: netc: introduce NXP NETC switch driver for i.MX94
authorWei Fang <wei.fang@nxp.com>
Mon, 18 May 2026 08:25:01 +0000 (16:25 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 21 May 2026 11:04:42 +0000 (13:04 +0200)
commit187fbae024c8439533d7f075f4ab4b594dc19992
treee321ac024bddb5ae155be439cdbf1b10a705ffb0
parent0850005c26d2623f3d77489cf27d342191a97b5c
net: dsa: netc: introduce NXP NETC switch driver for i.MX94

For i.MX94 series, the NETC IP provides full 802.1Q Ethernet switch
functionality, advanced QoS with 8 traffic classes, and a full range of
TSN standards capabilities. The switch has 3 user ports and 1 CPU port,
the CPU port is connected to an internal ENETC. Since the switch and the
internal ENETC are fully integrated within the NETC IP, no back-to-back
MAC connection is required. Instead, a light-weight "pseudo MAC" is used
between the switch and the ENETC. This translates to lower power (less
logic and memory) and lower delay (as there is no serialization delay
across this link).

Introduce the initial NETC switch driver with basic probe and remove
functionality. More features will be added in subsequent patches.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/20260518082506.1318236-11-wei.fang@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
MAINTAINERS
drivers/net/dsa/Kconfig
drivers/net/dsa/Makefile
drivers/net/dsa/netc/Kconfig [new file with mode: 0644]
drivers/net/dsa/netc/Makefile [new file with mode: 0644]
drivers/net/dsa/netc/netc_main.c [new file with mode: 0644]
drivers/net/dsa/netc/netc_platform.c [new file with mode: 0644]
drivers/net/dsa/netc/netc_switch.h [new file with mode: 0644]
drivers/net/dsa/netc/netc_switch_hw.h [new file with mode: 0644]