linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Peter Korsgaard <jacmet-OfajU3CKLf1/SzgSGea1oA@public.gmane.org>
Cc: ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Michael Lawnick <ml.lawnick-Mmb7MZpHnFY@public.gmane.org>
Subject: Re: [PATCH] i2c: add generic I2C multiplexer using gpio api
Date: Tue, 20 Jul 2010 11:50:05 +0200	[thread overview]
Message-ID: <20100720115005.3b3fa865@hyperion.delvare> (raw)
In-Reply-To: <87fwzejz1v.fsf-uXGAPMMVk8amE9MCos8gUmSdvHPH+/yF@public.gmane.org>

On Tue, 20 Jul 2010 11:13:48 +0200, Peter Korsgaard wrote:
> >>>>> "Peter" == Peter Korsgaard <peter.korsgaard-ob4gmnvZ1/cAvxtiuMwx3w@public.gmane.org> writes:
> 
>  Peter> Add an i2c bus driver providing virtual i2c busses using a hardware
>  Peter> MUX sitting on a master bus and controlled through gpio pins.
> 
>  Peter> E.G. something like:
> 
>  Peter>   ----------              ----------  Virtual bus 1   - - - - -
>  Peter>  |          | SCL/SDA    |          |-------------- |           |
>  Peter>  |          |------------|          |
>  Peter>  |          |            |          | Virtual bus 2 |           |
>  Peter>  |  Linux   | GPIO 1..N  |   MUX    |---------------   Devices
>  Peter>  |          |------------|          |               |           |
>  Peter>  |          |            |          | Virtual bus M
>  Peter>  |          |            |          |---------------|           |
>  Peter>   ----------              ----------                  - - - - -
> 
>  Peter> SCL/SDA of the master I2C bus is multiplexed to virtual bus 1..M
>  Peter> according to the settings of the GPIO pins 1..N.
> 
>  Peter> Signed-off-by: Peter Korsgaard <peter.korsgaard-ob4gmnvZ1/cAvxtiuMwx3w@public.gmane.org>
> 
> Comments?

Michael and myself are in the process of adding core support for bus
multiplexing to the i2c subsystem. There is no point in reviewing more
specific implementations until the core part is merged (which is
scheduled to happen in kernel 2.6.36.)

-- 
Jean Delvare

  parent reply	other threads:[~2010-07-20  9:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-04 23:19 [PATCH] i2c: add generic I2C multiplexer using gpio api Peter Korsgaard
     [not found] ` <1278285584-13632-1-git-send-email-peter.korsgaard-ob4gmnvZ1/cAvxtiuMwx3w@public.gmane.org>
2010-07-20  9:13   ` Peter Korsgaard
     [not found]     ` <87fwzejz1v.fsf-uXGAPMMVk8amE9MCos8gUmSdvHPH+/yF@public.gmane.org>
2010-07-20  9:50       ` Jean Delvare [this message]
     [not found]         ` <20100720115005.3b3fa865-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-07-20  9:58           ` Peter Korsgaard
     [not found]             ` <87bpa2jwzy.fsf-uXGAPMMVk8amE9MCos8gUmSdvHPH+/yF@public.gmane.org>
2010-07-20 11:04               ` Jean Delvare
     [not found]                 ` <20100720130417.5be0bb51-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-07-20 11:27                   ` Peter Korsgaard
2010-07-20 11:09               ` Michael Lawnick
     [not found]                 ` <4C4583F3.8080807-Mmb7MZpHnFY@public.gmane.org>
2010-07-20 11:29                   ` Peter Korsgaard
     [not found]                     ` <87y6d6ie7q.fsf-uXGAPMMVk8amE9MCos8gUmSdvHPH+/yF@public.gmane.org>
2010-07-20 11:51                       ` Michael Lawnick

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=20100720115005.3b3fa865@hyperion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
    --cc=jacmet-OfajU3CKLf1/SzgSGea1oA@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;
as well as URLs for NNTP newsgroup(s).