This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to add ov5640 driver to kernel

hi guys 

I have a dart4460 from Varisite and want to support ov5640 camera module to my android kernel.

Android version is jelly bean, kernel is 3.0 version and we got the ducati-m3.so file from varisite.

I studied /driver/media/video/ov***.c files and I searched about how to write camera driver

from Internet , I knew that camera driver is written by ducati subsystem for omap devices

but I dont know where example driver code which is written by ducati subsystem is located in omap linux kernel

I was looking for camera driver source in google glass kernel and galaxy nexus kernel that are using omap 44xx as their core

But unfortunately I couldnt find any camera source in /drivers/media/video/*

So my questions are :

1) I want to know where I can find example source that is written by ducati subsystem ?

2) How can I add camera driver for kernel? Do I have to get ducati sources to write camera driver?

3) If I have to get ducati sources , should I get NDA with Varisite OR TI ?

4) I saw the ovXXX sources in drivers/media/video/ , then Is it possible to write ov5640 camera driver sources with V4L2 without DUCATI?