[PATCH v2 net-next 0/2] Add support for EN7581 to mt7530 driver
Lorenzo Bianconi
lorenzo at kernel.org
Thu Aug 1 00:35:10 PDT 2024
Add EN7581 support to MT7530 DSA driver.
Changes since v1:
- get rid of mac_port_config callback for EN7581
- introduce en7581_mac_port_get_caps callback
- introduce MT753X_FORCE_MODE(id) macro
- fix compatible property in mt7530.yaml
Lorenzo Bianconi (2):
dt-bindings: net: dsa: mediatek,mt7530: Add airoha,en7581-switch
net: dsa: mt7530: Add EN7581 support
.../bindings/net/dsa/mediatek,mt7530.yaml | 8 ++-
drivers/net/dsa/mt7530-mmio.c | 1 +
drivers/net/dsa/mt7530.c | 49 ++++++++++++++++---
drivers/net/dsa/mt7530.h | 20 ++++++--
4 files changed, 66 insertions(+), 12 deletions(-)
--
2.45.2
More information about the Linux-mediatek
mailing list