CSI-2 (CSI4LNK0) on R-Car and RZ/G2 supports 4-lane mode which is already
handled by rcar-csi2.c driver. This patch updates the data-lanes property
to describe the same.
Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Jacopo Mondi <[email protected]>
---
v2->v3
* Dropped uniqueItems constraint as a patch [0] to schema already exists.
* Included RB tag from Jacopo
[0] https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/
v1->v2
* Dropped const items
* Added uniqueItems
v1:
https://lore.kernel.org/lkml/[email protected]/T/
---
Documentation/devicetree/bindings/media/renesas,csi2.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/media/renesas,csi2.yaml b/Documentation/devicetree/bindings/media/renesas,csi2.yaml
index e6a036721082..b520d6c5c102 100644
--- a/Documentation/devicetree/bindings/media/renesas,csi2.yaml
+++ b/Documentation/devicetree/bindings/media/renesas,csi2.yaml
@@ -67,7 +67,10 @@ properties:
maxItems: 1
data-lanes:
- maxItems: 1
+ minItems: 1
+ maxItems: 4
+ items:
+ maximum: 4
required:
- clock-lanes
--
2.17.1
On Fri, 21 Jan 2022 00:26:22 +0000, Lad Prabhakar wrote:
> CSI-2 (CSI4LNK0) on R-Car and RZ/G2 supports 4-lane mode which is already
> handled by rcar-csi2.c driver. This patch updates the data-lanes property
> to describe the same.
>
> Signed-off-by: Lad Prabhakar <[email protected]>
> Reviewed-by: Jacopo Mondi <[email protected]>
> ---
> v2->v3
> * Dropped uniqueItems constraint as a patch [0] to schema already exists.
> * Included RB tag from Jacopo
>
> [0] https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/
>
> v1->v2
> * Dropped const items
> * Added uniqueItems
>
> v1:
> https://lore.kernel.org/lkml/[email protected]/T/
> ---
> Documentation/devicetree/bindings/media/renesas,csi2.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Reviewed-by: Rob Herring <[email protected]>