dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility
Subsystems (3)
PATCH 1/1 dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility
From: Zhi Li <[email protected]>
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.
--- Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml +2 -1
@@ -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
Signature · 1 line
2.25.1
Quoted 3 lines · On Mon, May 25, 2026 at 01:24:41PM +0800, [email protected] wrote:
From: Zhi Li <[email protected]>
The previous change added two optional cells to
What is previous in this context? There is no previous commit here.
Quoted 5 lines
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
Quoted 8 lines
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 <[email protected]>Signed-off-by Zhi Li <[email protected]>---
With fixed commit msg:
Best regards,
Krzysztof
Quoted 10 lines
-----Original Messages-----
From: "Krzysztof Kozlowski" <[email protected]>
Send time:Saturday, 30/05/2026 19:18:54
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH net v1] dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility
Quoted 7 lines
Quoted 3 lines · On Mon, May 25, 2026 at 01:24:41PM +0800, [email protected] wrote:
From: Zhi Li <[email protected]>
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.
Quoted 10 lines
Quoted 5 lines
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.
Quoted 10 lines
Quoted 8 lines
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 <[email protected]>Signed-off-by Zhi Li <[email protected]>---
Quoted 4 lines
With fixed commit msg:
Reviewed-by Krzysztof Kozlowski <[email protected]>
Thanks, I'll carry your Reviewed-by tag in v2.