dt-bindings: i2c: qcom,i2c-cci: Fix OV7251 'data-lanes' entries
authorRob Herring <robh@kernel.org>
Mon, 11 Mar 2024 22:26:04 +0000 (16:26 -0600)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 20 Mar 2024 09:28:56 +0000 (10:28 +0100)
The OV7251 sensor only has a single data lane, so 2 entries is not valid.
Fix this to be 1 entry as the schema specifies.

The schema validation doesn't catch this currently due to some limitations
in handling of arrays vs. matrices, but a fix is being worked on.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml

index 8386cfe..f0eabff 100644 (file)
@@ -270,7 +270,7 @@ examples:
 
                 port {
                     ov7251_ep: endpoint {
-                        data-lanes = <0 1>;
+                        data-lanes = <0>;
                         link-frequencies = /bits/ 64 <240000000 319200000>;
                         remote-endpoint = <&csiphy3_ep>;
                     };