Commit 9d40c5a6 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson
Browse files

dt-bindings: clock: qcom,sc7280-lpasscorecc: 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 reg, clocks and clock-names.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240817094605.27185-2-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 2a5711c7
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -25,11 +25,17 @@ properties:
      - qcom,sc7280-lpasscorecc
      - qcom,sc7280-lpasshm

  reg: true
  reg:
    minItems: 1
    maxItems: 2

  clocks: true
  clocks:
    minItems: 1
    maxItems: 3

  clock-names: true
  clock-names:
    minItems: 1
    maxItems: 3

  '#clock-cells':
    const: 1