Skip to content
Snippets Groups Projects
Commit 83ee6d2e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Dmitry Baryshkov
Browse files

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: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarKrzysztof 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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 0edf7b1f
No related branches found
No related tags found
1 merge request!162drm/msm/dpu: last minute fixes
Checking pipeline status
...@@ -231,6 +231,7 @@ allOf: ...@@ -231,6 +231,7 @@ allOf:
then: then:
properties: properties:
clocks: clocks:
minItems: 7
maxItems: 7 maxItems: 7
clock-names: clock-names:
items: items:
...@@ -253,6 +254,7 @@ allOf: ...@@ -253,6 +254,7 @@ allOf:
then: then:
properties: properties:
clocks: clocks:
minItems: 6
maxItems: 6 maxItems: 6
clock-names: clock-names:
items: items:
...@@ -273,6 +275,7 @@ allOf: ...@@ -273,6 +275,7 @@ allOf:
then: then:
properties: properties:
clocks: clocks:
minItems: 7
maxItems: 7 maxItems: 7
clock-names: clock-names:
items: items:
...@@ -293,6 +296,7 @@ allOf: ...@@ -293,6 +296,7 @@ allOf:
then: then:
properties: properties:
clocks: clocks:
minItems: 7
maxItems: 7 maxItems: 7
clock-names: clock-names:
items: items:
...@@ -328,6 +332,7 @@ allOf: ...@@ -328,6 +332,7 @@ allOf:
then: then:
properties: properties:
clocks: clocks:
minItems: 6
maxItems: 6 maxItems: 6
clock-names: clock-names:
items: items:
...@@ -347,6 +352,7 @@ allOf: ...@@ -347,6 +352,7 @@ allOf:
then: then:
properties: properties:
clocks: clocks:
minItems: 9
maxItems: 9 maxItems: 9
clock-names: clock-names:
items: items:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment