public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 0/3] net: dsa: MT7628 embedded switch initial support
@ 2026-03-14 15:08 Joris Vaisvila
  2026-03-14 15:08 ` [RFC v2 1/3] net: phy: mediatek: add phy driver for MT7628 built-in Fast Ethernet PHYs Joris Vaisvila
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joris Vaisvila @ 2026-03-14 15:08 UTC (permalink / raw)
  To: netdev
  Cc: horms, pabeni, kuba, edumazet, davem, olteanv, Andrew Lunn,
	Joris Vaisvila

Hello,

This RFC series adds initial support for the MT7628 Embedded Switch.

The implementation provides basic functionality required to operate the
switch using DSA. The hardware exposes 5 internal Fast Ethernet ports
and two gigabit ports, one of which is internally connected to the CPU
MAC.

Tested on MT7628NN (mistyped as mt7628AN in v1) with 5x Fast Ethernet
ports in a software bridge. All ports were verified for correct
communication while using VLAN-tagged and untagged traffic between two
hosts.

---

v2:
	- Update commit messages with more relevant information
	- Change all references of "special" tag to "MT7628" tag
	- Fix coding style errors
	- Use dsa_xmit_port_mask instead of BIT(dp->index)
	- Replace phy_read/phy_write with an MDIO bus definition
	- Remove PHY init from switch driver
	- Fix undocumented writes to SGC2 and FCT0
	- Fix missing double-tag enable required for VLAN unaware
	  functionality
	- Fix VLAN remove logic
	- Update VLAN add logic to use the first unused slot
	- Add a dedicated phy driver for MT7628 FE PHYs

v1: https://lore.kernel.org/netdev/20260228185242.800836-1-joey@tinyisr.com


Joris Vaisvila (3):
  net: phy: mediatek: add phy driver for MT7628 built-in Fast Ethernet
    PHYs
  net: dsa: initial MT7628 tagging driver
  net: dsa: initial support for MT7628 embedded switch

 drivers/net/dsa/Kconfig               |   7 +
 drivers/net/dsa/Makefile              |   1 +
 drivers/net/dsa/mt7628.c              | 596 ++++++++++++++++++++++++++
 drivers/net/phy/mediatek/Kconfig      |   6 +
 drivers/net/phy/mediatek/Makefile     |   1 +
 drivers/net/phy/mediatek/mtk-fe-soc.c |  55 +++
 include/net/dsa.h                     |   2 +
 net/dsa/Kconfig                       |   6 +
 net/dsa/Makefile                      |   1 +
 net/dsa/tag_mt7628.c                  |  93 ++++
 10 files changed, 768 insertions(+)
 create mode 100644 drivers/net/dsa/mt7628.c
 create mode 100644 drivers/net/phy/mediatek/mtk-fe-soc.c
 create mode 100644 net/dsa/tag_mt7628.c

-- 
2.53.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-21 11:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 15:08 [RFC v2 0/3] net: dsa: MT7628 embedded switch initial support Joris Vaisvila
2026-03-14 15:08 ` [RFC v2 1/3] net: phy: mediatek: add phy driver for MT7628 built-in Fast Ethernet PHYs Joris Vaisvila
2026-03-17 18:03   ` Andrew Lunn
2026-03-21 11:35     ` Joris Vaisvila
2026-03-14 15:08 ` [RFC v2 2/3] net: dsa: initial MT7628 tagging driver Joris Vaisvila
2026-03-14 17:59   ` Daniel Golle
2026-03-14 20:46     ` Joris Vaišvila
2026-03-14 15:08 ` [RFC v2 3/3] net: dsa: initial support for MT7628 embedded switch Joris Vaisvila
2026-03-14 23:41   ` Daniel Golle
2026-03-15  7:02     ` Joris Vaišvila

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox