Daniel, Thanks for responding.... Any reason why this is not added to upstream ? I think this is exactly what is needed to support this. Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 Phone : 301-515-3736 email: m-karicheri2@xxxxxx >-----Original Message----- >From: Daniel Glöckner [mailto:daniel-gl@xxxxxxx] >Sent: Tuesday, June 23, 2009 3:11 PM >To: Karicheri, Muralidharan >Cc: linux-media@xxxxxxxxxxxxxxx >Subject: Re: sub devices sharing same i2c address > >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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html