Commit 55da77de authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jakub Kicinski

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240818172905.121829-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 13cfd6a6
...@@ -127,6 +127,7 @@ allOf: ...@@ -127,6 +127,7 @@ allOf:
then: then:
properties: properties:
interrupts: interrupts:
minItems: 3
maxItems: 3 maxItems: 3
clocks: clocks:
...@@ -183,6 +184,7 @@ allOf: ...@@ -183,6 +184,7 @@ allOf:
then: then:
properties: properties:
interrupts: interrupts:
minItems: 3
maxItems: 3 maxItems: 3
clocks: clocks:
...@@ -222,6 +224,7 @@ allOf: ...@@ -222,6 +224,7 @@ allOf:
then: then:
properties: properties:
interrupts: interrupts:
minItems: 3
maxItems: 3 maxItems: 3
clocks: clocks:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment