Re: [PATCH v3] dt-bindings: media: Add OV5642

From: Sakari Ailus
Date: Wed Sep 13 2023 - 12:10:47 EST


Hi Fabio,

On Wed, Sep 13, 2023 at 01:02:25PM -0300, Fabio Estevam wrote:
> Hi Sakari,
>
> On 13/09/2023 12:40, Sakari Ailus wrote:
>
> > You seem to have properties here that are specific to both parallel and
> > CSI-2 buses. Which one does the sensor use?
>
> The OV5642 sensor can support both parallel and MIPI CSI-2 buses.

Then these properties should be conditional to that. Please see an example
in Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml .

You can omit clock-lanes in any case as there's just a single one (0).

--
Regards,

Sakari Ailus