]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: add basic initial driver for MxL862xx switches
authorDaniel Golle <daniel@makrotopia.org>
Sat, 7 Feb 2026 03:07:27 +0000 (03:07 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 11 Feb 2026 10:27:58 +0000 (11:27 +0100)
commit23794bec1cb606fee9e4876f0e86f592e1301f58
tree92efbda33be519d82de1b20edd0c937dddc73c5c
parentb405b26d8d27fbb09c6ce2e7cc0eada9a63136b6
net: dsa: add basic initial driver for MxL862xx switches

Add very basic DSA driver for MaxLinear's MxL862xx switches.

In contrast to previous MaxLinear switches the MxL862xx has a built-in
processor that runs a sophisticated firmware based on Zephyr RTOS.
Interaction between the host and the switch hence is organized using a
software API of that firmware rather than accessing hardware registers
directly.

Add descriptions of the most basic firmware API calls to access the
built-in MDIO bus hosting the 2.5GE PHYs, basic port control as well as
setting up the CPU port.

Implement a very basic DSA driver using that API which is sufficient to
get packets flowing between the user ports and the CPU port.

The firmware offers all features one would expect from a modern switch
hardware, they are going to be added one by one in follow-up patch
series.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/ccde07e8cf33d8ae243000013b57cfaa2695e0a9.1770433307.git.daniel@makrotopia.org
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
MAINTAINERS
drivers/net/dsa/Kconfig
drivers/net/dsa/Makefile
drivers/net/dsa/mxl862xx/Kconfig [new file with mode: 0644]
drivers/net/dsa/mxl862xx/Makefile [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx-api.h [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx-cmd.h [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx-host.c [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx-host.h [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx.c [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx.h [new file with mode: 0644]