Skip to content

Commit 0dec2d0

Browse files
krzkgeertu
authored andcommitted
dt-bindings: clock: renesas,cpg-clocks: 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-output-names. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Conor Dooley <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 120c283 commit 0dec2d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,16 @@ properties:
3232
reg:
3333
maxItems: 1
3434

35-
clocks: true
35+
clocks:
36+
minItems: 1
37+
maxItems: 3
3638

3739
'#clock-cells':
3840
const: 1
3941

40-
clock-output-names: true
42+
clock-output-names:
43+
minItems: 3
44+
maxItems: 17
4145

4246
renesas,mode:
4347
description: Board-specific settings of the MD_CK* bits on R-Mobile A1

0 commit comments

Comments
 (0)