All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] media: dt-bindings: media: renesas,csi2: Update data-lanes property
@ 2022-01-21  0:26 Lad Prabhakar
  2022-02-05  2:23 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Lad Prabhakar @ 2022-01-21  0:26 UTC (permalink / raw)
  To: Niklas Söderlund, Jacopo Mondi, Mauro Carvalho Chehab, Rob Herring
  Cc: linux-media, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar, Biju Das, Lad Prabhakar

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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
---
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/20211223191615.17803-13-p.yadav@ti.com/

v1->v2
* Dropped const items
* Added uniqueItems

v1:
https://lore.kernel.org/lkml/20220118163413.ge2b4g75yhfqvq3x@uno.localdomain/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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v3] media: dt-bindings: media: renesas,csi2: Update data-lanes property
  2022-01-21  0:26 [PATCH v3] media: dt-bindings: media: renesas,csi2: Update data-lanes property Lad Prabhakar
@ 2022-02-05  2:23 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-02-05  2:23 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Niklas Söderlund, linux-renesas-soc, linux-kernel,
	linux-media, Mauro Carvalho Chehab, Jacopo Mondi, Rob Herring,
	Prabhakar, Biju Das, devicetree

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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
> ---
> 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/20211223191615.17803-13-p.yadav@ti.com/
> 
> v1->v2
> * Dropped const items
> * Added uniqueItems
> 
> v1:
> https://lore.kernel.org/lkml/20220118163413.ge2b4g75yhfqvq3x@uno.localdomain/T/
> ---
>  Documentation/devicetree/bindings/media/renesas,csi2.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-05  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21  0:26 [PATCH v3] media: dt-bindings: media: renesas,csi2: Update data-lanes property Lad Prabhakar
2022-02-05  2:23 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.