dt-bindings: net: mediatek,net: narrow interrupts per variants

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>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240818172905.121829-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Krzysztof Kozlowski
2024-08-18 19:29:02 +02:00
committed by Jakub Kicinski
parent 13cfd6a6d7
commit 55da77dec1

View File

@@ -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: