[RFC net-next 0/3] net: dsa: yt921x: Add support for Motorcomm YT921x

David Yang posted 3 patches 1 month, 3 weeks ago
There is a newer version of this series
.../bindings/net/dsa/motorcomm,yt921x.yaml    |  121 +
drivers/net/dsa/Kconfig                       |    7 +
drivers/net/dsa/Makefile                      |    1 +
drivers/net/dsa/yt921x.c                      | 3390 +++++++++++++++++
include/net/dsa.h                             |    2 +
net/dsa/Kconfig                               |    6 +
net/dsa/Makefile                              |    1 +
net/dsa/tag_yt921x.c                          |  126 +
8 files changed, 3654 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/dsa/motorcomm,yt921x.yaml
create mode 100644 drivers/net/dsa/yt921x.c
create mode 100644 net/dsa/tag_yt921x.c
[RFC net-next 0/3] net: dsa: yt921x: Add support for Motorcomm YT921x
Posted by David Yang 1 month, 3 weeks ago
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.

previous rfc: https://lore.kernel.org/all/20250808173808.273774-1-mmyangfl@gmail.com/
  - fix coding style
  - add dt binding
  - add support for fdb, vlan and bridge

David Yang (3):
  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

 .../bindings/net/dsa/motorcomm,yt921x.yaml    |  121 +
 drivers/net/dsa/Kconfig                       |    7 +
 drivers/net/dsa/Makefile                      |    1 +
 drivers/net/dsa/yt921x.c                      | 3390 +++++++++++++++++
 include/net/dsa.h                             |    2 +
 net/dsa/Kconfig                               |    6 +
 net/dsa/Makefile                              |    1 +
 net/dsa/tag_yt921x.c                          |  126 +
 8 files changed, 3654 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/motorcomm,yt921x.yaml
 create mode 100644 drivers/net/dsa/yt921x.c
 create mode 100644 net/dsa/tag_yt921x.c

-- 
2.47.2
Re: [RFC net-next 0/3] net: dsa: yt921x: Add support for Motorcomm YT921x
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
On 14/08/2025 08:50, David Yang wrote:
> 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.
> 
> previous rfc: https://lore.kernel.org/all/20250808173808.273774-1-mmyangfl@gmail.com/


So that's a v2? Please version your patches correctly, e.g. use b4 or
git format-patch -vX, and add changelog in cover letter or under '---'
of individual patches describing changes from previous version.

>   - fix coding style
>   - add dt binding
>   - add support for fdb, vlan and bridge


Please also explain why this is RFC, why this is not ready for review.


Best regards,
Krzysztof