Hi @Bio_TICFSL ,
Thanks for the reply.
Those who want to integrate Auto focus with OV5640 on IMX8MM. Please follow below link for reference:
https://github.com/boundarydevices/linux/tree/boundary-imx_5.15.y/drivers/media/platform/mxc/capture
Change kernel version according to you BSP. By referring files preset in mentioned directory you can enable below functionalities:
Auto focus functionality
You need to have OV5640 module with VCM. Above driver implementation doesn't support continuous auto focus. User need to pass "v4l2-ctl -d /dev/video0 -c auto_focus_start=1" command each time to get focus.
Thanks,
Ajita