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 <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240818173014.122073-5-krzysztof.kozlowski@linaro.org Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 354831f commit 4844ab3

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

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)