]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility
authorZhi Li <lizhi2@eswincomputing.com>
Tue, 2 Jun 2026 01:45:28 +0000 (09:45 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 15:30:37 +0000 (08:30 -0700)
commit1232b3104b4b2c0267f31608fe0f8a8758428f28
tree3d70f4a4abc88100ad5d886e75831ddb62d15b6b
parent0861615c28de668669d748ef4eb913ea9262d13b
dt-bindings: ethernet: eswin: fix hsp-sp-csr backward compatibility

Commit c36069c6f46c ("dt-bindings: ethernet: eswin: add optional TXD and
RXD delay register offsets") added two optional cells to eswin,hsp-sp-csr
but omitted minItems: 4.

As a result, dt-schema implicitly required all 6 cells, which broke
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/
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Zhi Li <lizhi2@eswincomputing.com>
Link: https://patch.msgid.link/20260602014528.2076-1-lizhi2@eswincomputing.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml