Commit 06ab21c3 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jakub Kicinski
Browse files

dt-bindings: net: mediatek,net: add top-level constraints



Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:".  Add missing top-level constraints
for clocks and clock-names.

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-2-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 55da77de
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -30,8 +30,13 @@ properties:
  reg:
    maxItems: 1

  clocks: true
  clock-names: true
  clocks:
    minItems: 2
    maxItems: 24

  clock-names:
    minItems: 2
    maxItems: 24

  interrupts:
    minItems: 1