media: dt-bindings: ov2685: Correct data-lanes attribute
authorLuca Weiss <luca@z3ntu.xyz>
Wed, 19 Apr 2023 15:58:27 +0000 (17:58 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 8 May 2023 07:28:03 +0000 (09:28 +0200)
When adapting the original doc conversion to support 2 lanes, minItems
should've been added as well since the sensor supports either 1 or 2
lanes. Add minItems to make the validation happy again.

Fixes: 8d561d78aeab ("media: dt-bindings: ov2685: convert to dtschema")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230419-ov2685-dtschema-fixup-v1-1-c850a34b3a26@z3ntu.xyz
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml

index 8b389314c352656f0209c06c40f8724bd95affd8..e2ffe0a9c26b31177158d38446ff33aeb59973dc 100644 (file)
@@ -49,6 +49,7 @@ properties:
 
         properties:
           data-lanes:
+            minItems: 1
             maxItems: 2
 
         required: