Skip to content

Commit 83ee6d2

Browse files
krzklumag
authored andcommitted
dt-bindings: display/msm: dsi-controller-main: Add missing minItems
Specific constrain in if:then: blocks for variable lists, like clocks and clock-names, should have a fixed upper and lower size. Older dtschema implied minItems, but that's not true since 2024 and missing minItems means that lower bound is not set. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/638751/ Link: https://lore.kernel.org/r/20250221-b4-sm8750-display-v3-2-3ea95b1630ea@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
1 parent 0edf7b1 commit 83ee6d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ allOf:
231231
then:
232232
properties:
233233
clocks:
234+
minItems: 7
234235
maxItems: 7
235236
clock-names:
236237
items:
@@ -253,6 +254,7 @@ allOf:
253254
then:
254255
properties:
255256
clocks:
257+
minItems: 6
256258
maxItems: 6
257259
clock-names:
258260
items:
@@ -273,6 +275,7 @@ allOf:
273275
then:
274276
properties:
275277
clocks:
278+
minItems: 7
276279
maxItems: 7
277280
clock-names:
278281
items:
@@ -293,6 +296,7 @@ allOf:
293296
then:
294297
properties:
295298
clocks:
299+
minItems: 7
296300
maxItems: 7
297301
clock-names:
298302
items:
@@ -328,6 +332,7 @@ allOf:
328332
then:
329333
properties:
330334
clocks:
335+
minItems: 6
331336
maxItems: 6
332337
clock-names:
333338
items:
@@ -347,6 +352,7 @@ allOf:
347352
then:
348353
properties:
349354
clocks:
355+
minItems: 9
350356
maxItems: 9
351357
clock-names:
352358
items:

0 commit comments

Comments
 (0)