From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from perceval.ideasonboard.com ([213.167.242.64]:55694 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbeK3GE6 (ORCPT ); Fri, 30 Nov 2018 01:04:58 -0500 From: Laurent Pinchart To: Niklas =?ISO-8859-1?Q?S=F6derlund?= Cc: Kieran Bingham , Jacopo Mondi , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints Date: Thu, 29 Nov 2018 20:58:59 +0200 Message-ID: <4738724.38cIGBxbul@avalon> In-Reply-To: <20181129020147.22115-2-niklas.soderlund+renesas@ragnatech.se> References: <20181129020147.22115-1-niklas.soderlund+renesas@ragnatech.se> <20181129020147.22115-2-niklas.soderlund+renesas@ragnatech.se> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Sender: linux-media-owner@vger.kernel.org List-ID: Hi Niklas, Thank you for the patch. On Thursday, 29 November 2018 04:01:44 EET Niklas S=F6derlund wrote: > The CSI-2 transmitters can use a different number of lanes to transmit > data. Make the data-lanes mandatory for the endpoints that describe the > transmitters as no good default can be set to fallback on. >=20 > Signed-off-by: Niklas S=F6derlund Reviewed-by: Laurent Pinchart > --- > * Changes since v3 > - Add paragraph to describe the accepted values for the source endpoint > data-lane property. Thanks Jacopo for pointing this out and sorry for > missing this in v2. > * Changes since v2 > - Update paragraph according to Laurents comments. > --- > .../devicetree/bindings/media/i2c/adv748x.txt | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/media/i2c/adv748x.txt > b/Documentation/devicetree/bindings/media/i2c/adv748x.txt index > 5dddc95f9cc46084..4f91686e54a6b939 100644 > --- a/Documentation/devicetree/bindings/media/i2c/adv748x.txt > +++ b/Documentation/devicetree/bindings/media/i2c/adv748x.txt > @@ -48,7 +48,16 @@ are numbered as follows. > TXA source 10 > TXB source 11 >=20 > -The digital output port nodes must contain at least one endpoint. > +The digital output port nodes, when present, shall contain at least one > +endpoint. Each of those endpoints shall contain the data-lanes property = as > +described in video-interfaces.txt. > + > +Required source endpoint properties: > + - data-lanes: an array of physical data lane indexes > + The accepted value(s) for this property depends on which of the two > + sources are described. For TXA 1, 2 or 4 data lanes can be described > + while for TXB only 1 data lane is valid. See video-interfaces.txt > + for detailed description. >=20 > Ports are optional if they are not connected to anything at the hardware > level. =2D-=20 Regards, Laurent Pinchart