Skip to content

Commit

Permalink
dt-bindings: clock: qcom,sc7280-lpasscorecc: add top-level constraints
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Bjorn Andersson committed Dec 12, 2024
1 parent 2a5711c commit 9d40c5a
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d40c5a

Please sign in to comment.