Skip to content

Commit 4844ab3

Browse files
krzkbebarino
authored andcommitted
dt-bindings: clock: st,stm32mp1-rcc: 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] Acked-by: Conor Dooley <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 354831f commit 4844ab3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,14 @@ properties:
6060
- st,stm32mp1-rcc
6161
- st,stm32mp13-rcc
6262
- const: syscon
63-
clocks: true
64-
clock-names: true
63+
64+
clocks:
65+
minItems: 1
66+
maxItems: 5
67+
68+
clock-names:
69+
minItems: 1
70+
maxItems: 5
6571

6672
reg:
6773
maxItems: 1

0 commit comments

Comments
 (0)