Re: [RESEND PATCH v1] net: dsa: motorcomm: add yt92xx dsa driver
From: Andrew Lunn
Date: Mon Jun 15 2026 - 12:05:37 EST
On Mon, Jun 15, 2026 at 07:12:35PM +0800, Kyle Switch wrote:
> Add yt92xx dsa driver supports yt921x and yt922x switch series.
> To support more switch series in the future (e.g., yt923x), the most common configurations are abstracted into switch operation interfaces, due to yt921x and yt922x share similar register layouts and operational logic.
>
> - Merge drivers/net/dsa/yt921x.c and the new yt922x support into a
> unified yt92xx.c driver.
>
> - Add support for yt922x, which can operate with either 4 bytes or
> 8 bytes DSA tag.
>
> - Not change yt921x behaviour but use common switch apis
You should comment about why you resent.
Also, you should of waited 24 hours.
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
Anyway, please don't send it yet again until you have broken it up
into lots of smaller patches.
You also have a lot of work to do to bring this code up to Mainline
standards. Please spend some time looking at other DSA drivers, and
network drivers. Anything your driver does which no other driver does,
is probably wrong. Please start with a small patchset with just the
core code, enough to have the ports act as independent interfaces,
nothing more. You can then submit further patchsets for offloading
bridges, statistics, trunks, ptp etc.
Andrew
---
pw-bot: cr