diff options
author | Samuel Holland <[email protected]> | 2022-11-06 23:35:49 -0600 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2022-11-07 14:09:53 +0100 |
commit | f7931b034438bd761c71931ed7222ff9ab04d4af (patch) | |
tree | 1ff226991207b0c16e7c7c1ced6326731544883e | |
parent | 78a77c9f494829089d74afc60286c555efa0646a (diff) |
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: fe5040f2843a ("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]>
-rw-r--r-- | Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml index 7910831fa4b8..bf9bfe8f88ae 100644 --- a/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml @@ -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 |