LWN.net Logo

OMAP 2 camera driver + other stuff

From:  Sakari Ailus <sakari.ailus@nokia.com>
To:  video4linux-list@redhat.com
Subject:  [RFC] OMAP 2 camera driver + other stuff
Date:  Fri, 20 Apr 2007 19:37:37 +0300
Cc:  Eduardo Bezerra Valentin <eduardo.valentin@indt.org.br>, r-woodruff2@ti.com, rishi@ti.com, "ext Syed Mohammed, Khasim" <x0khasim@ti.com>, ext Tony Lindgren <tony@atomide.com>, "Biris, Ilias" <ilias.biris@indt.org.br>
Archive-link:  Article, Thread

Hello,

I'm about to send new patches of OMAP 2 camera driver, OMAP 
camera/sensor interface and TCM825x sensor to the V4L2 list. They are 
modified versions of older drivers from Montavista (camera) and INdT 
(sensor).

Both drivers use a modified camera/sensor interface. The original 
interface has been used in the OMAP 1 and older OMAP 2 camera drivers 
and associated sensor drivers. (The original interface plus other 
related stuff can be found under the same name in linux-omap tree in 
git://source.mvista.com/git/linux-omap-2.6.git .)

These patches are against the vanilla Linux kernel and they contain just 
the drivers and the interface without machine-specific parts i.e. they 
are not usable as such.

Especially the interfaces between camera and sensor are important. Now 
the camera interface structure is a global variable (omap24xxcam in 
omap24xxcam.c) to which the sensor driver will get a pointer as a part 
of its machine-specific configuration. Do you think this is okay?

The other subject of interest is IMO the camera driver. Currently mmap, 
vbq and DMA parts are a bit ugly. Luckily they are not in any kind of 
central role in the driver.

The sensor driver is there mostly as a reference.

Comments about the patches are most welcome.

Especially to Trilok and Khasim: there are not so much changes between 
these and the ones I sent to linux-omap-open source, mostly cleanups and 
reset handling updates. And the number of files is smaller again. ;)

Regards,

-- 
Sakari Ailus
sakari.ailus@nokia.com

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubs...
https://www.redhat.com/mailman/listinfo/video4linux-list


Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds