* [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints
[not found] <20181129020147.22115-1-niklas.soderlund+renesas@ragnatech.se>
@ 2018-11-29 2:01 ` Niklas Söderlund
2018-11-29 18:58 ` Laurent Pinchart
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Niklas Söderlund @ 2018-11-29 2:01 UTC (permalink / raw)
To: Kieran Bingham, Laurent Pinchart, Jacopo Mondi, linux-media
Cc: linux-renesas-soc, Niklas Söderlund, Rob Herring, devicetree
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.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
* 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(-)
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
-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.
Ports are optional if they are not connected to anything at the hardware level.
--
2.19.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints
2018-11-29 2:01 ` [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints Niklas Söderlund
@ 2018-11-29 18:58 ` Laurent Pinchart
2018-12-07 23:08 ` Rob Herring
2019-01-11 12:47 ` Kieran Bingham
2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2018-11-29 18:58 UTC (permalink / raw)
To: Niklas Söderlund
Cc: Kieran Bingham, Jacopo Mondi, linux-media, linux-renesas-soc,
Rob Herring, devicetree
Hi Niklas,
Thank you for the patch.
On Thursday, 29 November 2018 04:01:44 EET Niklas Söderlund 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.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> * 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(-)
>
> 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
>
> -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.
>
> Ports are optional if they are not connected to anything at the hardware
> level.
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints
2018-11-29 2:01 ` [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints Niklas Söderlund
2018-11-29 18:58 ` Laurent Pinchart
@ 2018-12-07 23:08 ` Rob Herring
2019-01-11 12:47 ` Kieran Bingham
2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2018-12-07 23:08 UTC (permalink / raw)
To: Niklas Söderlund
Cc: Kieran Bingham, Laurent Pinchart, Jacopo Mondi, linux-media,
linux-renesas-soc, devicetree
On Thu, 29 Nov 2018 03:01:44 +0100, =?UTF-8?q?Niklas=20S=C3=B6derlund?= 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.
>
> Signed-off-by: Niklas S�derlund <niklas.soderlund+renesas@ragnatech.se>
>
> ---
> * 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(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints
2018-11-29 2:01 ` [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints Niklas Söderlund
2018-11-29 18:58 ` Laurent Pinchart
2018-12-07 23:08 ` Rob Herring
@ 2019-01-11 12:47 ` Kieran Bingham
2 siblings, 0 replies; 4+ messages in thread
From: Kieran Bingham @ 2019-01-11 12:47 UTC (permalink / raw)
To: Niklas Söderlund, Laurent Pinchart, Jacopo Mondi,
linux-media
Cc: linux-renesas-soc, Rob Herring, devicetree
Hi Niklas,
Thank you for this series.
On 29/11/2018 02:01, Niklas Söderlund 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.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
>
> ---
> * 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(-)
>
> 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
>
> -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.
>
> Ports are optional if they are not connected to anything at the hardware level.
>
>
--
Regards
--
Kieran
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-11 12:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181129020147.22115-1-niklas.soderlund+renesas@ragnatech.se>
2018-11-29 2:01 ` [PATCH v4 1/4] dt-bindings: adv748x: make data-lanes property mandatory for CSI-2 endpoints Niklas Söderlund
2018-11-29 18:58 ` Laurent Pinchart
2018-12-07 23:08 ` Rob Herring
2019-01-11 12:47 ` Kieran Bingham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).