Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1247486pxb; Fri, 21 Jan 2022 13:17:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEeeOWKOyG/eNZjkojZBJNmHp8OUCdGgK97TATrAk87aco8SnUqa+kQt/Tv8OvgCGKL5Py X-Received: by 2002:a63:83c6:: with SMTP id h189mr4187286pge.358.1642799847628; Fri, 21 Jan 2022 13:17:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642799847; cv=none; d=google.com; s=arc-20160816; b=IaZaEIhiCY2tnWYJ7Ib1OYtHcNLa8z41Ii0sq8Aj1pgIQHegAGsExym9qBDb65sAYa Kksiwh+M+WM+JV5dtSpX/1rwe6v6kwWyYLuPvilsa93w5P/1iIG3o7sOvAmKWXIaTU6h P4zl0DUayhKVPPTyhpgHH7q4mpy892wfR7wKn4Pv+SF7G4pWRdJ7WBVyR6vIYlWlJw/o LgxBoPpfxe2uEhlKoOsQWgz6i6Mk4p8Xb47N9hw+s8h8MDd9pT6JmSwX6ovRMfn3IJKs fZ8R3IDNhlgnrVZTtOyAmW+qFuqfQG8wv00xGpBW7vr/N3aNJyy6GKn7Pr7W4VEUQB9g uxKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=qfbGtDoRyEoU8eWtKCR/FKEU+3/jNEqxZNF9xp/qz3M=; b=naKtgljMx10/lL8GUUHolRToSpXlG6sdanMNrqtjIgT7M+e36bNvJo6dTQSLWBfpct QB148PZq5p+A9ZtfpmaXsxsC8V76Ph6gLUwwUxki+VBfxB6/ClkeLeoUIQUHD6X0Ddpv HAElJq4BKjtSCnZQcNrU4KDpKNv63O6KXDhAKJKFmFiFIIoIcvNHfYbAEMCb8tbzWDEi A6zpWNtMK0bnm+bghCvBdjz72cZTedEVrDgx8GRFwYJoH9rOzs5z3WI/dkN42fySSaGZ 9RdYwyAHcxYN4ElPGEy1x3xvQAKnrr/+kZqaBz1hzMXGFtf3rM3NzQiaitPGGoHtD756 m5og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p20si6801420plq.541.2022.01.21.13.17.15; Fri, 21 Jan 2022 13:17:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376338AbiATKjl (ORCPT + 99 others); Thu, 20 Jan 2022 05:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376340AbiATKje (ORCPT ); Thu, 20 Jan 2022 05:39:34 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27088C061574; Thu, 20 Jan 2022 02:39:32 -0800 (PST) Received: (Authenticated sender: jacopo@jmondi.org) by mail.gandi.net (Postfix) with ESMTPSA id 5A982E0014; Thu, 20 Jan 2022 10:39:26 +0000 (UTC) Date: Thu, 20 Jan 2022 11:40:29 +0100 From: Jacopo Mondi To: Lad Prabhakar Cc: Niklas =?utf-8?Q?S=C3=B6derlund?= , Mauro Carvalho Chehab , Rob Herring , Laurent Pinchart , Sakari Ailus , Hans Verkuil , Geert Uytterhoeven , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das Subject: Re: [PATCH v2] media: dt-bindings: media: renesas,csi2: Update data-lanes property Message-ID: <20220120104029.wenol7qdfjl2f53n@uno.localdomain> References: <20220120012553.23295-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220120012553.23295-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Prabhakar On Thu, Jan 20, 2022 at 01:25:53AM +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 > --- > Hi All, > > Instead of adding uniqueItems:true into SoC binding doc's I think we could > add this in video-interfaces.yaml for data-lanes property. Any thoughts on this? > As repeating items are not allowed I think it's a good idea. In the meantime this patch looks good to me Reviewed-by: Jacopo Mondi Thanks j > Cheers, > Prabhakar > > 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 | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/renesas,csi2.yaml b/Documentation/devicetree/bindings/media/renesas,csi2.yaml > index e6a036721082..a5a1b570025a 100644 > --- a/Documentation/devicetree/bindings/media/renesas,csi2.yaml > +++ b/Documentation/devicetree/bindings/media/renesas,csi2.yaml > @@ -67,7 +67,11 @@ properties: > maxItems: 1 > > data-lanes: > - maxItems: 1 > + minItems: 1 > + maxItems: 4 > + uniqueItems: true > + items: > + maximum: 4 > > required: > - clock-lanes > -- > 2.17.1 >