Commit f7931b03 authored by Samuel Holland's avatar Samuel Holland Committed by Maxime Ripard

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: fe5040f2 ("dt-bindings: sun6i-dsi: Document A64 MIPI-DSI controller")
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221107053552.2330-2-samuel@sholland.orgSigned-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 78a77c9f
......@@ -78,16 +78,10 @@ allOf:
required:
- clock-names
- if:
properties:
compatible:
contains:
const: allwinner,sun50i-a64-mipi-dsi
then:
else:
properties:
clocks:
minItems: 1
maxItems: 1
unevaluatedProperties: false
......
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