Hi Steve, On Tue, Oct 15, 2019 at 3:19 PM Steve Longerbeam <slongerb...@gmail.com> wrote:
> I submitted the ICAP driver patch quite a while ago, it was ~2 yrs ago I > think. Can't seem to find the link unfortunately. > > I'll work on updating the driver and retesting, and try resubmitting again. > > Most of the hooks are present in imx-media-fim.c to use the hardware > input capture to measure frame intervals. The only missing piece is the > ICAP driver itself. > > The FIM is explained in the imx.rst doc. It is configured and enabled > via v4l2 controls. It will report a v4l2_event to userspace during Thanks for the explanation. I read through imx.rst, but it was not clear for me how to actually configure/enable it via v4l2 controls. Could you please provide an example on how I can configure/enable FIM? Also, would you have an example on how to achieve the following behavior explained at imx.rst? "If the FIM detects a bad frame interval, the ipuX_csiY subdev will send the event V4L2_EVENT_IMX_FRAME_INTERVAL_ERROR. Userland can register with the FIM event notification on the ipuX_csiY subdev device node. Userland can issue a streaming restart when this event is received to correct the rolling/split image." Thanks