Skip to content

Commit f7931b0

Browse files
smaeulmripard
authored andcommitted
dt-bindings: display: sun6i-dsi: Fix clock conditional
The A64 case should have limited maxItems, instead of duplicating the minItems value from the main binding. While here, simplify the binding by making this an "else" case of the two-clock conditional block. Fixes: fe5040f ("dt-bindings: sun6i-dsi: Document A64 MIPI-DSI controller") Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
1 parent 78a77c9 commit f7931b0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,10 @@ allOf:
7878
required:
7979
- clock-names
8080

81-
- if:
82-
properties:
83-
compatible:
84-
contains:
85-
const: allwinner,sun50i-a64-mipi-dsi
86-
87-
then:
81+
else:
8882
properties:
8983
clocks:
90-
minItems: 1
84+
maxItems: 1
9185

9286
unevaluatedProperties: false
9387

0 commit comments

Comments
 (0)