Message ID | 20240818172905.121829-1-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | Awaiting Upstream |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | [net-next,1/4] dt-bindings: net: mediatek,net: narrow interrupts per variants | expand |
On Sun, 18 Aug 2024 19:29:02 +0200, Krzysztof Kozlowski wrote: > Each variable-length property like interrupts must have fixed > constraints on number of items for given variant in binding. The > clauses in "if:then:" block should define both limits: upper and lower. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > Documentation/devicetree/bindings/net/mediatek,net.yaml | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Sun, 18 Aug 2024 19:29:02 +0200 you wrote: > Each variable-length property like interrupts must have fixed > constraints on number of items for given variant in binding. The > clauses in "if:then:" block should define both limits: upper and lower. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > Documentation/devicetree/bindings/net/mediatek,net.yaml | 3 +++ > 1 file changed, 3 insertions(+) Here is the summary with links: - [net-next,1/4] dt-bindings: net: mediatek,net: narrow interrupts per variants https://git.kernel.org/netdev/net-next/c/55da77dec1be - [net-next,2/4] dt-bindings: net: mediatek,net: add top-level constraints https://git.kernel.org/netdev/net-next/c/06ab21c3cb6e - [net-next,3/4] dt-bindings: net: renesas,etheravb: add top-level constraints https://git.kernel.org/netdev/net-next/c/70d16e13368c - [net-next,4/4] dt-bindings: net: socionext,uniphier-ave4: add top-level constraints https://git.kernel.org/netdev/net-next/c/2862c9349d5d You are awesome, thank you!
diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index 686b5c2fae40..8c00a6f75357 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -127,6 +127,7 @@ allOf: then: properties: interrupts: + minItems: 3 maxItems: 3 clocks: @@ -183,6 +184,7 @@ allOf: then: properties: interrupts: + minItems: 3 maxItems: 3 clocks: @@ -222,6 +224,7 @@ allOf: then: properties: interrupts: + minItems: 3 maxItems: 3 clocks:
Each variable-length property like interrupts must have fixed constraints on number of items for given variant in binding. The clauses in "if:then:" block should define both limits: upper and lower. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Documentation/devicetree/bindings/net/mediatek,net.yaml | 3 +++ 1 file changed, 3 insertions(+)