Re: Re: [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility

From: 李志

Date: Sun May 31 2026 - 21:18:48 EST





> -----Original Messages-----
> From: "Krzysztof Kozlowski" <krzk@xxxxxxxxxx>
> Send time:Saturday, 30/05/2026 19:18:54
> To: lizhi2@xxxxxxxxxxxxxxxxxx
> Cc: andrew+netdev@xxxxxxx, davem@xxxxxxxxxxxxx, edumazet@xxxxxxxxxx, kuba@xxxxxxxxxx, pabeni@xxxxxxxxxx, robh@xxxxxxxxxx, krzk+dt@xxxxxxxxxx, conor+dt@xxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, ningyu@xxxxxxxxxxxxxxxxxx, linmin@xxxxxxxxxxxxxxxxxx, pinkesh.vaghela@xxxxxxxxxxxxxx, pritesh.patel@xxxxxxxxxxxxxx, weishangjuan@xxxxxxxxxxxxxxxxxx, sashiko-bot@xxxxxxxxxx
> Subject: Re: [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility
>
> On Mon, May 25, 2026 at 01:24:41PM +0800, lizhi2@xxxxxxxxxxxxxxxxxx wrote:
> > From: Zhi Li <lizhi2@xxxxxxxxxxxxxxxxxx>
> >
> > The previous change added two optional cells to
>
> What is previous in this context? There is no previous commit here.
>

Good point. I'll reword this in v2 to explicitly reference the commit
being fixed.

> > eswin,hsp-sp-csr, but omitted minItems: 4.
> >
> > As a result, dt-schema implicitly required all 6 cells,
> > breaking backward compatibility with existing 4-cell
> > device trees.
>
> Please wrap commit message according to Linux coding style / submission
> process (neither too early nor over the limit):
> https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
>

Thanks, I'll fix the line wrapping in v2 as well.

> >
> > Add minItems: 4 to preserve backward compatibility.
> >
> > Fixes: c36069c6f46c ("dt-bindings: ethernet: eswin: add optional TXD and RXD delay register offsets")
> > Reported-by: Sashiko AI <sashiko-bot@xxxxxxxxxx>
> > Closes: https://lore.kernel.org/all/20260519022334.35742C2BCB7@xxxxxxxxxxxxxxx/
> > Signed-off-by: Zhi Li <lizhi2@xxxxxxxxxxxxxxxxxx>
> > ---
>
>
> With fixed commit msg:
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
>

Thanks, I'll carry your Reviewed-by tag in v2.