Skip to content

Commit 1b23c14

Browse files
mmindgregkh
authored andcommitted
dt-bindings: nvmem: rockchip,otp: add missing limits for clock-names
The clocks property correctly declares minItems and maxItems for its variants, but clock-names does not. Both properties are always used together, so should declare the same limits. Suggested-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Acked-by: Conor Dooley <[email protected]> Tested-by: Nicolas Frattaroli <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6907e80 commit 1b23c14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ allOf:
6262
properties:
6363
clocks:
6464
maxItems: 3
65+
clock-names:
66+
maxItems: 3
6567
resets:
6668
maxItems: 1
6769
reset-names:
@@ -78,6 +80,8 @@ allOf:
7880
properties:
7981
clocks:
8082
minItems: 4
83+
clock-names:
84+
minItems: 4
8185
resets:
8286
minItems: 3
8387
reset-names:

0 commit comments

Comments
 (0)