On Tue, Jun 23, 2009 at 01:10:11PM -0500, Karicheri, Muralidharan wrote:
> I am having to switch between two sub devices that shares the same i2c
> address. First one is TVP5146 and the other is MT9T031. The second has
> a i2c switch and the evm has a data path switch.

You could try Rodolfo Giometti's i2c bus multiplexing code:
http://i2c.wiki.kernel.org/index.php/I2C_bus_multiplexing

It will create a new i2c_adapter for each output of the i2c switch
and the switch is handled transparently when accessing the devices.

  Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to