Skip to content

RFC Support mt7531 on BPI-R2 Pro

Frank Wunderlich linux-arm-kernel linux-devicetree linux-mediatek linux-rockchip lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest4 patches 11 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dsa: mt7530: rework mt7530_hw_vlan_{add,del}drivers/net/dsa/mt7530.c+12 -181 reply
2/4net: dsa: mt7530: rework mt753[01]_setupdrivers/net/dsa/mt7530.c+21 -41 reply
3/4net: dsa: mt7530: get cpu-port via dp->cpu_dp instead of constantdrivers/net/dsa/mt7530.c drivers/net/dsa/mt7530.h+20 -81 reply
4/4arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro boardarch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts+48 -08 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchVladimir Oltean
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC v2 0/4] Support mt7531 on BPI-R2 Pro

From: Frank Wunderlich <[email protected]>

This Series add Support for the mt7531 switch on Bananapi R2 Pro board.

This board uses port5 of the switch to conect to the gmac0 of the rk3568 SoC.

Currently CPU-Port is hardcoded in the mt7530 driver to port 6.

Compared to v1 the reset-Patch was dropped as it was not needed and CPU-Port-changes are completely rewriten based on suggestions/code from Vladimir Oltean (many thanks to this).
In DTS Patch i only dropped the status-property that was not needed/ignored by driver.

Due to the Changes i also made a regression Test on mt7623 bpi-r2 using mt7530 with cpu-port 6. Tests were done directly (ipv4 config on dsa user port) and with vlan-aware bridge including vlan that was tagged outgoing on dsa user port.

Frank Wunderlich (4):
net: dsa: mt7530: rework mt7530_hw_vlan_{add,del}
net: dsa: mt7530: rework mt753[01]_setup
net: dsa: mt7530: get cpu-port via dp->cpu_dp instead of constant
arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro board

 .../boot/dts/rockchip/rk3568-bpi-r2-pro.dts   | 48 +++++++++++
 drivers/net/dsa/mt7530.c                      | 81 ++++++++++++-------
 drivers/net/dsa/mt7530.h                      |  1 -
 3 files changed, 100 insertions(+), 30 deletions(-)
Signature · 1 line
2.25.1