Hello Santhosh,
The MIPI-CSI 2 is enable be default for OV5640, on your kernel configuration:
Device Drivers > Multimedia support (MEDIA_SUPPORT [=y]) > V4L platform devices
(V4L_PLATFORM_DRIVERS [=y]) > MXC Camera/V4L2 PRP Features support >
MXC_CAMERA_OV5640_MIPI
For more information please see your BSP documentation on the i.MX reference manual chapter 6.
regards