On Thu, 19 Nov 2009, Karicheri, Muralidharan wrote: > Hi, > > Please make this a generic driver so that it can be used across > other SoCs as well. BTW, on which SoC have you tested this driver? > There seems to be a lot of soc-camera specific stuffs here. > Example, probe() is getting a pointer to struct soc_camera_device *icd. > I have been working with Guennadi to make the MT9T031.c driver work for > TI's VPFE on DMxxx SOCs. since this is a new driver, I would like to see > it de-coupled from soc-camera framework and implemented as a generic > v4l2-subdevice driver. Murali, yes, our aim is to make sensor drivers universally usable, using the v4l2-subdev API. But ATM sensor drivers, written and tested to work with soc-camera hosts, cannot be absolutely soc-camera free. Although, we can (and shall) try to make them at least partially usable outside of the soc-camera framework, as I have done with the mt9t031 driver. ATM this driver would refuse to work with a non soc-camera host, or even misfunction, if that host driver is using i2c client platform data for something else. Yes, we'll fix this, but don't expect it to become absolutely soc-camera free for now. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html