* [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility
@ 2026-05-25 5:24 lizhi2
2026-05-30 11:18 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: lizhi2 @ 2026-05-25 5:24 UTC (permalink / raw)
To: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
conor+dt, netdev, devicetree, linux-kernel
Cc: ningyu, linmin, pinkesh.vaghela, pritesh.patel, weishangjuan,
sashiko-bot, Zhi Li
From: Zhi Li <lizhi2@eswincomputing.com>
The previous change added two optional cells to
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.
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@kernel.org>
Closes: https://lore.kernel.org/all/20260519022334.35742C2BCB7@smtp.kernel.org/
Signed-off-by: Zhi Li <lizhi2@eswincomputing.com>
---
Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml b/Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml
index b66ae6300faf..65882ff79d8d 100644
--- a/Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml
+++ b/Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml
@@ -84,7 +84,8 @@ properties:
This reference is provided for background information only.
$ref: /schemas/types.yaml#/definitions/phandle-array
items:
- - items:
+ - minItems: 4
+ items:
- description: Phandle to HSP(High-Speed Peripheral) device
- description: Offset of phy control register for internal
or external clock selection
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility 2026-05-25 5:24 [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility lizhi2 @ 2026-05-30 11:18 ` Krzysztof Kozlowski 2026-06-01 1:17 ` 李志 0 siblings, 1 reply; 3+ messages in thread From: Krzysztof Kozlowski @ 2026-05-30 11:18 UTC (permalink / raw) To: lizhi2 Cc: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt, conor+dt, netdev, devicetree, linux-kernel, ningyu, linmin, pinkesh.vaghela, pritesh.patel, weishangjuan, sashiko-bot On Mon, May 25, 2026 at 01:24:41PM +0800, lizhi2@eswincomputing.com wrote: > From: Zhi Li <lizhi2@eswincomputing.com> > > The previous change added two optional cells to What is previous in this context? There is no previous commit here. > 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 > > 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@kernel.org> > Closes: https://lore.kernel.org/all/20260519022334.35742C2BCB7@smtp.kernel.org/ > Signed-off-by: Zhi Li <lizhi2@eswincomputing.com> > --- With fixed commit msg: Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility 2026-05-30 11:18 ` Krzysztof Kozlowski @ 2026-06-01 1:17 ` 李志 0 siblings, 0 replies; 3+ messages in thread From: 李志 @ 2026-06-01 1:17 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt, conor+dt, netdev, devicetree, linux-kernel, ningyu, linmin, pinkesh.vaghela, pritesh.patel, weishangjuan, sashiko-bot > -----Original Messages----- > From: "Krzysztof Kozlowski" <krzk@kernel.org> > Send time:Saturday, 30/05/2026 19:18:54 > To: lizhi2@eswincomputing.com > Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ningyu@eswincomputing.com, linmin@eswincomputing.com, pinkesh.vaghela@einfochips.com, pritesh.patel@einfochips.com, weishangjuan@eswincomputing.com, sashiko-bot@kernel.org > 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@eswincomputing.com wrote: > > From: Zhi Li <lizhi2@eswincomputing.com> > > > > 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@kernel.org> > > Closes: https://lore.kernel.org/all/20260519022334.35742C2BCB7@smtp.kernel.org/ > > Signed-off-by: Zhi Li <lizhi2@eswincomputing.com> > > --- > > > With fixed commit msg: > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> > Thanks, I'll carry your Reviewed-by tag in v2. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-01 1:18 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-05-25 5:24 [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility lizhi2 2026-05-30 11:18 ` Krzysztof Kozlowski 2026-06-01 1:17 ` 李志
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox