Skip to content

Commit c1a5e6f

Browse files
krzkAndi Shyti
authored andcommitted
dt-bindings: i2c: qcom,i2c-cci: add missing clocks constraint in if:then:
Top level defines clocks as variable from 3 to 6 items, so each clause in if:then: should narrow it further with explicit min and maxItems. Without minItems, the constrain from top-level is being applied, thus qcom,msm8996-cci allows between 3 and 4 clocks. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent 3a04293 commit c1a5e6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ allOf:
130130
then:
131131
properties:
132132
clocks:
133+
minItems: 4
133134
maxItems: 4
134135
clock-names:
135136
items:

0 commit comments

Comments
 (0)