Re: [PATCH v2 4/5] media: mt9p031: Make pixel clock polarity configurable by DT

From: Sakari Ailus
Date: Thu Oct 01 2020 - 12:11:25 EST


On Thu, Oct 01, 2020 at 07:10:31PM +0300, Sakari Ailus wrote:
> > @@ -1079,6 +1094,9 @@ mt9p031_get_pdata(struct i2c_client *client)
> > of_property_read_u32(np, "input-clock-frequency", &pdata->ext_freq);
> > of_property_read_u32(np, "pixel-clock-frequency", &pdata->target_freq);
> >
> > + pdata->pixclk_pol = !!(endpoint.bus.parallel.flags &
> > + V4L2_MBUS_PCLK_SAMPLE_RISING);
>
> Could you document this in DT bindings? And the default, too.

Please make it a separate patch.

--
Sakari Ailus