Hi Guennadi, On 12/7/09, Guennadi Liakhovetski <g.liakhovetski@xxxxxx> wrote: > Hi Alan > > On Mon, 7 Dec 2009, Alan Carvalho de Assis wrote: > > It's always better to cc a suitable list, in this case it is > > Linux Media Mailing List <linux-media@xxxxxxxxxxxxxxx> > Sure, here we go. > >> I am trying to use an OV2640 camera with soc_camera. >> >> I'm using ov772x driver as base, but it needs too much modification to >> work with ov2640. > > I don't know that sensor specifically, but they can be quite different. > Yes, in fact ov2640 appears quite different compared to ov772x and ov9640. >> The OV2640 chip remaps all registers when register 0xFF is 1 or when it is >> 0. > > This is not unusual. There are a few ways to implement this, for example, > drivers/media/video/rj54n1cb0c.c uses 16-bit addresses, and decodes them > to bank:register pairs in its reg_read() and reg_write() routines. > Ok, I will try to implement it this way, case nobody suggests me a better approach. Best Regards, Alan -- 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