Hi Мichael, Sorry for long time to reply,
Whats your question about ov5640 driver?
Do you have already a part of code? Any example?
I code the driver in linux-3.2.30, using v4l2-subdev interface. So, if you are using linux 2.6.37, I'm not sure that the subdev framework is already implemented. You'll need apply patches to support it.
Did you get the source provided in the begin of topic?
BR
Adriano Martins