We are currently developing a project using an i.MX8MP processor running Android 11 (NXP BSP). Our hardware setup includes an OV5640 camera module with autofocus support, connected via the MIPI-CSI interface.
While the camera imaging and preview are working, we have encountered an issue regarding autofocus functionality. It appears that the standard Android 11 BSP for i.MX8MP does not natively support or expose AF controls for the OV5640. We are using kernel 5.10.72 and OV5640 MIPI Camera Subdev Driver (drivers/media/i2c/ov5640.c).
Is there an updated OV5640 kernel driver for the i.MX8MP that includes autofocus support?
Any guidance, patches, or reference documentation would be greatly appreciated.