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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240817094605.27185-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2024-08-17 11:46:05 +02:00 committed by Bjorn Andersson
parent 2a5711c7dc
commit 9d40c5a698

View File

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