How to stream ov5640 in Raspberry Pi 4?

I have 2 MIPI camera moudles, one is ov5647 and another one is ov5640 when I tried to ov5647 in raspberry Pi it got streamed, but when I tried ov5640 /dev/video0 is being shown ut I’m unable to stream a video. Can anyone give me working driver to stream video from ov5640 in Raspberry pi 4 model B
and kernel version I’m using is 5.15.61