Skip to content

net: dsa: yt921x: Add support for Motorcomm YT921x

David Yang linux-devicetree lkml netdev 13 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v14 Latest4 patches 2 repliesApplied 4/4
  2. v133 patches 1 replySuperseded
  3. v125 patches 1 replySuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v115 patches13 repliesSuperseded
v105 patches2 repliesSuperseded
v93 patches8 repliesSuperseded
v83 patches3 repliesSuperseded
v73 patches5 repliesSuperseded
v63 patches26 repliesSuperseded
v53 patches11 repliesSuperseded
v43 patches7 repliesSuperseded
v33 patches6 repliesSuperseded
v1 RFC3 patches4 repliesSuperseded

Patches in v14 All 4 applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: net: dsa: yt921x: Add Motorcomm YT921x switch supportDocumentation/devicetree/bindings/net/dsa/motorcomm,yt921x.yaml+167 -00 repliesApplied
2/4net: dsa: tag_yt921x: add support for Motorcomm YT921x tagsinclude/net/dsa.h include/uapi/linux/if_ether.h net/dsa/Kconfig +2 more+151 -00 repliesApplied
3/4net: dsa: yt921x: Add support for Motorcomm YT921xdrivers/net/dsa/Kconfig drivers/net/dsa/Makefile drivers/net/dsa/yt921x.c +1 more+3403 -02 repliesApplied
4/4MAINTAINERS: add entry for Motorcomm YT921x ethernet switch driverMAINTAINERS+8 -00 repliesApplied

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiAndrew Lunn
1/4R-b
2/4R-b
3/4
4/4

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

Read the v14 thread

Cover letter [PATCH net-next v14 0/4] net: dsa: yt921x: Add support for Motorcomm YT921x

Motorcomm YT921x is a series of ethernet switches developed by Shanghai Motorcomm Electronic Technology, including:

- YT9215S / YT9215RB / YT9215SC: 5 GbE phys
- YT9213NB / YT9214NB: 2 GbE phys
- YT9218N / YT9218MB: 8 GbE phys

and up to 2 serdes interfaces.

This patch adds basic support for a working DSA switch.

v13: https://lore.kernel.org/r/[email protected]
- add MAINTAINERS entry
- remove wrong memory barrier
- suggested code style changes
v12: https://lore.kernel.org/r/[email protected]
- do not introduce PHY_INTERFACE_MODE_REVSGMII for the moment
v11: https://lore.kernel.org/r/[email protected]
- make MIB_DESC cleaner
- use disable_delayed_work at teardown
v10: https://lore.kernel.org/r/[email protected]
- fix warnings related to PHY_INTERFACE_MODE_REVSGMII
v9: https://lore.kernel.org/r/[email protected]
- add PHY_INTERFACE_MODE_REVSGMII
- remove mdio_verify()
- remove uncessary fdb flush opeartions
- rework mib reading
- set port pvid by port_set_pvid()
v8: https://lore.kernel.org/r/[email protected]
- rework register polling
- rework mib reading
- other suggested code style changes
v7: https://lore.kernel.org/r/[email protected]
- simplify locking scheme
v6: https://lore.kernel.org/r/[email protected]
- handle unforwarded packets in tag driver
- move register and struct definitions to header file
- rework register abstraction and implement a driver lock
- implement *_stats and use a periodic work to fetch MIB
- remove EEPROM dump
- remove sysfs attr and other debug leftovers
- remove ds->user_mii_bus assignment
- run selftests and fix any errors found
v5: https://lore.kernel.org/r/[email protected]
- use enum for reg in dt binding
- fix phylink_mac_ops in the driver
- fix coding style
v4: https://lore.kernel.org/r/[email protected]
- remove switchid from dt binding
- remove hsr from tag driver
- use ratelimited log in tag driver
v3: https://lore.kernel.org/r/[email protected]
- fix words and warnings in dt binding
- remove unnecessary dev_warn_ratelimited and u64_from_u32
- remove lag and mst
- check for mdio results and fix a unlocked write in conduit_state_change
v2: https://lore.kernel.org/r/[email protected]
- fix words in dt binding
- add support for lag and mst
v1: https://lore.kernel.org/r/[email protected]
- fix coding style
- add dt binding
- add support for fdb, vlan and bridge

David Yang (4):
dt-bindings: net: dsa: yt921x: Add Motorcomm YT921x switch support
net: dsa: tag_yt921x: add support for Motorcomm YT921x tags
net: dsa: yt921x: Add support for Motorcomm YT921x
MAINTAINERS: add entry for Motorcomm YT921x ethernet switch driver

 .../bindings/net/dsa/motorcomm,yt921x.yaml    |  167 +
 MAINTAINERS                                   |    8 +
 drivers/net/dsa/Kconfig                       |    7 +
 drivers/net/dsa/Makefile                      |    1 +
 drivers/net/dsa/yt921x.c                      | 2891 +++++++++++++++++
 drivers/net/dsa/yt921x.h                      |  504 +++
 include/net/dsa.h                             |    2 +
 include/uapi/linux/if_ether.h                 |    1 +
 net/dsa/Kconfig                               |    6 +
 net/dsa/Makefile                              |    1 +
 net/dsa/tag_yt921x.c                          |  141 +
 11 files changed, 3729 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/motorcomm,yt921x.yaml
 create mode 100644 drivers/net/dsa/yt921x.c
 create mode 100644 drivers/net/dsa/yt921x.h
 create mode 100644 net/dsa/tag_yt921x.c

--
2.51.0