All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Reid <preid@electromag.com.au>
To: "linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
	peda@axentia.se, linux@roeck-us.net
Subject: RFI: I2c muxes I2C_MUX_LOCKED and interrupt support
Date: Thu, 21 Jul 2016 11:20:58 +0800	[thread overview]
Message-ID: <4ea56ba2-ba2f-88f8-10f2-daee3f9ebdff@electromag.com.au> (raw)

G'day Peter,

I'm looking into modifying the i2c-mux-pca954x driver to add support for
the pca_9543 interrupt mux function.

So the first thing I need to add is a reg read function.
However based on the changes to the i2c mux code in the 4.6 series the
locking work around shouldn't be needed now if the mux is allocated with
I2C_MUX_LOCKED. Currently this driver is not doing this.
Also the same with the similar i2c-mux-pca9541 driver which does implement read.

So my question is should I change the driver to use I2C_MUX_LOCKED
or implement the read operation the same as the i2c-mux-pca9541?



-- 
Regards
Phil Reid

             reply	other threads:[~2016-07-21  3:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21  3:20 Phil Reid [this message]
2016-07-21  6:52 ` RFI: I2c muxes I2C_MUX_LOCKED and interrupt support Peter Rosin
2016-07-21  9:59   ` Phil Reid
2016-07-25 10:01     ` Peter Rosin

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=4ea56ba2-ba2f-88f8-10f2-daee3f9ebdff@electromag.com.au \
    --to=preid@electromag.com.au \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=peda@axentia.se \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.