Skip to content

Commit d6871d2

Browse files
krzkbebarino
authored andcommitted
dt-bindings: clock: baikal,bt1-ccu-div: 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: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Serge Semin <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 8585ffe commit d6871d2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,13 @@ properties:
134134
"#reset-cells":
135135
const: 1
136136

137-
clocks: true
137+
clocks:
138+
minItems: 3
139+
maxItems: 4
138140

139-
clock-names: true
141+
clock-names:
142+
minItems: 3
143+
maxItems: 4
140144

141145
additionalProperties: false
142146

0 commit comments

Comments
 (0)