Re: [PATCH 2/5] arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: fix ov7251 lane properties

From: Dmitry Baryshkov
Date: Wed Dec 04 2024 - 06:05:48 EST


On Wed, Dec 04, 2024 at 11:56:54AM +0100, Neil Armstrong wrote:
> Bindings documents data-lanes as a single entry with a separate
> clock-lanes property, but DT uses 2 entries in data-lanes.
>
> This would suggest clock-lanes is missing, fix the DT using the
> bindings example.
>
> This fixes:
> sdm845-db845c-navigation-mezzanine.dtso: camera@60: port:endpoint:data-lanes: [0, 1] is too long
> from schema $id: http://devicetree.org/schemas/media/i2c/ovti,ov7251.yaml#
>
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/sdm845-db845c-navigation-mezzanine.dtso | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c-navigation-mezzanine.dtso b/arch/arm64/boot/dts/qcom/sdm845-db845c-navigation-mezzanine.dtso
> index 0a87df806cafc8e726aacc07a772ca478d0ee3df..5a16f4c2b346b314af3d614266e1ca034057e643 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-db845c-navigation-mezzanine.dtso
> +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c-navigation-mezzanine.dtso
> @@ -115,7 +115,8 @@ camera@60 {
>
> port {
> ov7251_ep: endpoint {
> - data-lanes = <0 1>;
> + clock-lanes = <1>;
> + data-lanes = <0>;

Is it really this way or the other way around, clock = <0>, data = <1>?

> /* remote-endpoint = <&csiphy3_ep>; */
> };
> };
>
> --
> 2.34.1
>

--
With best wishes
Dmitry