From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: Ben Dooks <ben-linux@fluff.org>,
Rodolfo Giometti <giometti@linux.it>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] i2c/mux: Driver for PCA9541 I2C Master Selector
Date: Fri, 15 Oct 2010 18:58:29 -0700 [thread overview]
Message-ID: <20101016015829.GA30128@ericsson.com> (raw)
In-Reply-To: <1286932516-20689-1-git-send-email-guenter.roeck@ericsson.com>
On Tue, Oct 12, 2010 at 09:15:16PM -0400, Guenter Roeck wrote:
> This patch adds support for PCA9541, an I2C Bus Master Selector.
> The driver is modeled as single channel I2C Multiplexer to be able to utilize
> the I2C multiplexer framework.
>
> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> Reviewed-by: Tom Grennan <tom.grennan@ericsson.com>
> ---
> v2 changes:
> - Added more detailed description and reasoning why the driver was implemented
> as single-channel multiplexer.
> - Modified arbitration algorithm, since access to i2c masters from interrupt
> level is not a good idea. Instead of using hrtimers and handling arbitration
> in interrupt, handle it from select_chan and either delay for short retry
> periods or sleep for long (millisecond) periods.
>
> drivers/i2c/muxes/Kconfig | 10 +
> drivers/i2c/muxes/Makefile | 1 +
> drivers/i2c/muxes/pca9541.c | 397 +++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 408 insertions(+), 0 deletions(-)
> create mode 100644 drivers/i2c/muxes/pca9541.c
>
Any comments / thoughts / feedback ?
Thanks,
Guenter
next prev parent reply other threads:[~2010-10-16 1:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 1:15 [PATCH v2] i2c/mux: Driver for PCA9541 I2C Master Selector Guenter Roeck
2010-10-16 1:58 ` Guenter Roeck [this message]
2010-10-19 17:06 ` Jean Delvare
2010-10-19 18:08 ` Guenter Roeck
2010-10-19 18:31 ` Jean Delvare
2010-10-19 20:50 ` Guenter Roeck
2010-10-19 21:49 ` Jean Delvare
2010-10-19 21:59 ` 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=20101016015829.GA30128@ericsson.com \
--to=guenter.roeck@ericsson.com \
--cc=ben-linux@fluff.org \
--cc=giometti@linux.it \
--cc=khali@linux-fr.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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