OSDN Git Service

net: dsa: ocelot: add external ocelot switch control
authorColin Foster <colin.foster@in-advantage.com>
Fri, 27 Jan 2023 19:35:58 +0000 (11:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 31 Jan 2023 05:07:21 +0000 (21:07 -0800)
commit3d7316ac81ac329efce221b5584138e8c637a7b1
treee033cf7715d54184d39e2551ff6932fbd5a5e1e3
parent11fc80cbb225a96ecc385f1612db8b6f7fdcbca1
net: dsa: ocelot: add external ocelot switch control

Add control of an external VSC7512 chip.

Currently the four copper phy ports are fully functional. Communication to
external phys is also functional, but the SGMII / QSGMII interfaces are
currently non-functional.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # regression
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
MAINTAINERS
drivers/net/dsa/ocelot/Kconfig
drivers/net/dsa/ocelot/Makefile
drivers/net/dsa/ocelot/ocelot_ext.c [new file with mode: 0644]