Below picture is MIPI CSI schematic in i.MX95LP4XBB-15. We need to configure reset pin, enable pin and MCLK for OV5640. These changes can be done in device tree. Linux-6.12-enable-ov5640-on-mx95-evk.patch is the patch.

After apply the patch and run mx95 with imx95-15x15-evk-adv7535-ov5640.dtb, we can list the camera device
root@imx95evk:~# cam -l
Available cameras:
1: 'ov5640' (/base/soc/bus@42000000/i2c@42540000/ov5640_mipi@3c)
To capture camera image into a file, use below command
media-ctl -l "'ov5640 3-003c':0->'csidev-4ad30000.csi':0 [1]"
media-ctl -l "'csidev-4ad30000.csi':1 -> '4ac10000.syscon:formatter@20':0 [1]"
media-ctl -V "'ov5640 3-003c':0 [fmt: UYVY8_1X16/1920x1080 field:none]"
media-ctl -V "'csidev-4ad30000.csi':0 [fmt: UYVY8_1X16/1920x1080 field:none]"
media-ctl -V "'4ac10000.syscon:formatter@20':0 [fmt: UYVY8_1X16/1920x1080 field:none]"
media-ctl -V "'crossbar':2 [fmt: UYVY8_1X16/1920x1080 field:none]"
media-ctl -V "'mxc_isi.0':0 [fmt: UYVY8_1X16/1920x1080 field:none]"
v4l2-ctl -d "/dev/video0" -v width=1920,height=1080,pixelformat=YUYV --stream-mmap --stream-count=100 --stream-to=video.raw
Preview with gstreamer
gst-launch-1.0 libcamerasrc ! video/x-raw,width=1280,height=720,format=YUY2,stream-role=1 ! queue ! waylandsink
linux-6.12-enable-ov5640-on-mx95-evk.patch