From: "Daniel Glöckner" <daniel-gl@gmx.net>
To: "Karicheri, Muralidharan" <m-karicheri2@ti.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: sub devices sharing same i2c address
Date: Tue, 23 Jun 2009 21:10:52 +0200 [thread overview]
Message-ID: <20090623191052.GA302@daniel.bse> (raw)
In-Reply-To: <A69FA2915331DC488A831521EAE36FE40139EDB7B2@dlee06.ent.ti.com>
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
next prev parent reply other threads:[~2009-06-23 19:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 18:10 sub devices sharing same i2c address Karicheri, Muralidharan
2009-06-23 19:10 ` Daniel Glöckner [this message]
2009-06-24 17:44 ` Karicheri, Muralidharan
2009-06-24 19:23 ` Daniel Glöckner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090623191052.GA302@daniel.bse \
--to=daniel-gl@gmx.net \
--cc=linux-media@vger.kernel.org \
--cc=m-karicheri2@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox