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

From: Stefan Riedmüller
Date: Mon Oct 05 2020 - 04:52:06 EST


Hi Sakari,

On 01.10.20 18:11, Sakari Ailus wrote:
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.

Sure, I'll send a separate patch for the DT bindings.

Regards,
Stefan