From: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
To: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Michael Lawnick <ml.lawnick-Mmb7MZpHnFY@public.gmane.org>,
Rodolfo Giometti
<giometti-AVVDYK/kqiJWk0Htik3J/w@public.gmane.org>
Subject: Re: Driver for pca9541 bus master selector
Date: Tue, 28 Sep 2010 09:07:46 -0700 [thread overview]
Message-ID: <20100928160746.GB7976@ericsson.com> (raw)
In-Reply-To: <20100928171607.395f7736-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
On Tue, Sep 28, 2010 at 11:16:07AM -0400, Jean Delvare wrote:
> Hi Guenter,
>
> On Tue, 28 Sep 2010 07:33:02 -0700, Guenter Roeck wrote:
> > I am in the process of writing a driver for the pca9541 bus master selector.
> > I using the i2c multiplexer framework, which fits the requirements quite nicely.
> >
> > If anyone happens to know about an existing driver for this chip, please let me know.
> > I would love to get some input for the arbitration mechanism needed to determine
> > if and when to switch bus ownership from one master to the other.
>
> See drivers/i2c/muxes/pca954x.c in 2.6.36-rc2 and later.
>
Yes, I know. I use it as basis. But it doesn't support pca9541, unfortunately.
I use the select/deselect mechanism to trigger arbitration, but I still need
a mechanism to communicate between the masters. After all, the problem to solve
is that I have two masters and one slave, not one master and multiple slaves
as with the other chips.
Note that I do have a solution which I think will work. Just figured it might
save time if someone else already solved the same problem, and especially it
might help me to determine arbitration time constants. There was mention of
a pca9541 driver several years ago, but I have not been able to find details.
Thanks,
Guenter
next prev parent reply other threads:[~2010-09-28 16:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 14:33 Driver for pca9541 bus master selector Guenter Roeck
[not found] ` <20100928143302.GA7593-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-09-28 15:16 ` Jean Delvare
[not found] ` <20100928171607.395f7736-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2010-09-28 16:07 ` Guenter Roeck [this message]
[not found] ` <20100928160746.GB7976-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-09-28 16:42 ` Jean Delvare
[not found] ` <20100928184215.00f82717-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2010-09-28 17:16 ` Guenter Roeck
[not found] ` <20100928171627.GA8415-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-09-29 7:19 ` Jean Delvare
[not found] ` <20100929091928.16256bb7-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2010-09-29 13:54 ` Guenter Roeck
[not found] ` <20100929135401.GA11771-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-09-30 5:59 ` Michael Lawnick
[not found] ` <4CA42750.5020500-Mmb7MZpHnFY@public.gmane.org>
2010-09-30 7:48 ` Guenter Roeck
2010-10-13 16:05 ` Guenter Roeck
2010-10-13 15:45 ` Guenter Roeck
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=20100928160746.GB7976@ericsson.com \
--to=guenter.roeck-izefyvvap7pwk0htik3j/w@public.gmane.org \
--cc=giometti-AVVDYK/kqiJWk0Htik3J/w@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ml.lawnick-Mmb7MZpHnFY@public.gmane.org \
/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