From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: [PATCH] i2c: add generic I2C multiplexer using gpio api Date: Tue, 20 Jul 2010 11:50:05 +0200 Message-ID: <20100720115005.3b3fa865@hyperion.delvare> References: <1278285584-13632-1-git-send-email-peter.korsgaard@barco.com> <87fwzejz1v.fsf@macbook.be.48ers.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87fwzejz1v.fsf-uXGAPMMVk8amE9MCos8gUmSdvHPH+/yF@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Peter Korsgaard Cc: ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michael Lawnick List-Id: linux-i2c@vger.kernel.org On Tue, 20 Jul 2010 11:13:48 +0200, Peter Korsgaard wrote: > >>>>> "Peter" == Peter Korsgaard 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 > > 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