On Wednesday 03 December 2008, Trilok Soni wrote: > 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. Is this chip an example of that? It's I2C-only, and a quick scan of TI's touchscreen chip page didn't show a sibling chip with a logically-identical interface using SPI. > We should do something v4l2_subdev framework right now going on on > v4l2 mailing list to abstract the sensor drivers from bus. I'll disagree. When it's needed, this is easy to do ... bus glue talking to chip-specific code, and including some kind of bus-specific register access wrapper. No framework necessary, just straightforward design for any such drivers. - Dave -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html