Re: [RESEND PATCH v1] net: dsa: motorcomm: add yt92xx dsa driver

From: Kyle Switch

Date: Tue Jun 16 2026 - 22:00:58 EST




On 6/15/26 19:34, Andrew Lunn wrote:
> 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
>
> A 35K line patch is way too big. Please break this up into lots of
> small patches, each with good commit messages, which are obviously
> correct.
>
Thank you for your reminding, this patch will submitted in a series
of small patches.
This patch mainly contains three contents:
1. Underlying function interface for different motorcomm switch series in
the file driver/net/dsa/motorcomm/switch/.
2. Optimization existing yt921x dsa driver using common switch function apis.
3. New yt922x dsa driver.
Can you accept break this up into lots of small patch according to this logic?
if not, do you have any suggestion? thank you.

> Andrew
>
> ---
> pw-bot: cr