Skip to content

Commit 9d40c5a

Browse files
krzkandersson
authored andcommitted
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 <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 2a5711c commit 9d40c5a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,17 @@ properties:
2525
- qcom,sc7280-lpasscorecc
2626
- qcom,sc7280-lpasshm
2727

28-
reg: true
28+
reg:
29+
minItems: 1
30+
maxItems: 2
2931

30-
clocks: true
32+
clocks:
33+
minItems: 1
34+
maxItems: 3
3135

32-
clock-names: true
36+
clock-names:
37+
minItems: 1
38+
maxItems: 3
3339

3440
'#clock-cells':
3541
const: 1

0 commit comments

Comments
 (0)