On Wed, Dec 3, 2008 at 8:21 PM, Trilok Soni <[EMAIL PROTECTED]> wrote: > Hi Lee > > Adding linux-omap mailing list. Sometime I am thinking that same chip > might have interface to be connected on another board/cpu through SPI > too, so in this case we will have two drivers doing the same thing and > difference is just a change of the bus interface.
Hi Soni, At first, I tried to support tsc2007 with ads7846.c. But it required some kind of common logic to support both SPI and I2C for the driver, as you thought. If I modified the ads7846.c to support tsc2007, the driver might be a bit more complicate. I do not know which method is better, but making a different driver was simppler for me. Thank you. > We should do something v4l2_subdev framework right now going on on > v4l2 mailing list to abstract the sensor drivers from bus. > -- Kwangwoo Lee <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
