Commit 71667902 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

dt-bindings: display: drop minItems equal to maxItems

minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20220825113334.196908-5-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 413ec915
...@@ -25,7 +25,6 @@ properties: ...@@ -25,7 +25,6 @@ properties:
const: ldb const: ldb
reg: reg:
minItems: 2
maxItems: 2 maxItems: 2
reg-names: reg-names:
......
...@@ -66,13 +66,11 @@ properties: ...@@ -66,13 +66,11 @@ properties:
2 DSI links. 2 DSI links.
assigned-clocks: assigned-clocks:
minItems: 2
maxItems: 2 maxItems: 2
description: | description: |
Parents of "byte" and "pixel" for the given platform. Parents of "byte" and "pixel" for the given platform.
assigned-clock-parents: assigned-clock-parents:
minItems: 2
maxItems: 2 maxItems: 2
description: | description: |
The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block. The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
......
...@@ -37,7 +37,6 @@ properties: ...@@ -37,7 +37,6 @@ properties:
qcom,phy-rescode-offset-top: qcom,phy-rescode-offset-top:
$ref: /schemas/types.yaml#/definitions/int8-array $ref: /schemas/types.yaml#/definitions/int8-array
minItems: 5
maxItems: 5 maxItems: 5
description: description:
Integer array of offset for pull-up legs rescode for all five lanes. Integer array of offset for pull-up legs rescode for all five lanes.
...@@ -49,7 +48,6 @@ properties: ...@@ -49,7 +48,6 @@ properties:
qcom,phy-rescode-offset-bot: qcom,phy-rescode-offset-bot:
$ref: /schemas/types.yaml#/definitions/int8-array $ref: /schemas/types.yaml#/definitions/int8-array
minItems: 5
maxItems: 5 maxItems: 5
description: description:
Integer array of offset for pull-down legs rescode for all five lanes. Integer array of offset for pull-down legs rescode for all five lanes.
......
...@@ -24,7 +24,6 @@ properties: ...@@ -24,7 +24,6 @@ properties:
- samsung,exynos5433-decon-tv - samsung,exynos5433-decon-tv
clocks: clocks:
minItems: 11
maxItems: 11 maxItems: 11
clock-names: clock-names:
...@@ -59,7 +58,6 @@ properties: ...@@ -59,7 +58,6 @@ properties:
- const: te - const: te
iommus: iommus:
minItems: 2
maxItems: 2 maxItems: 2
iommu-names: iommu-names:
......
...@@ -24,7 +24,6 @@ properties: ...@@ -24,7 +24,6 @@ properties:
const: samsung,exynos5433-mic const: samsung,exynos5433-mic
clocks: clocks:
minItems: 2
maxItems: 2 maxItems: 2
clock-names: clock-names:
......
...@@ -22,7 +22,6 @@ properties: ...@@ -22,7 +22,6 @@ properties:
const: samsung,exynos7-decon const: samsung,exynos7-decon
clocks: clocks:
minItems: 4
maxItems: 4 maxItems: 4
clock-names: clock-names:
......
...@@ -27,7 +27,6 @@ properties: ...@@ -27,7 +27,6 @@ properties:
const: 1 const: 1
clocks: clocks:
minItems: 2
maxItems: 2 maxItems: 2
clock-names: clock-names:
......
...@@ -59,7 +59,6 @@ properties: ...@@ -59,7 +59,6 @@ properties:
maxItems: 2 maxItems: 2
power-domain-names: power-domain-names:
minItems: 2
maxItems: 2 maxItems: 2
allOf: allOf:
......
...@@ -42,11 +42,9 @@ properties: ...@@ -42,11 +42,9 @@ properties:
maxItems: 1 maxItems: 1
interconnects: interconnects:
minItems: 6
maxItems: 6 maxItems: 6
interconnect-names: interconnect-names:
minItems: 6
maxItems: 6 maxItems: 6
operating-points-v2: operating-points-v2:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment