linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about differential muxing
@ 2016-04-15 18:42 Andrew F. Davis
  2016-04-16 13:18 ` Jonathan Cameron
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew F. Davis @ 2016-04-15 18:42 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: linux-iio@vger.kernel.org

Hello all,

I am currently working on a driver for a part similar to the AFE4300. I
was hoping to get some information on the recommended way to handle a
mux such as the one in the AFE4300 BCM front-end (page 13 of
http://www.ti.com/lit/ds/symlink/afe4300.pdf has a good image).

The top several pins are outputs that can be routed to the OP-AMP, but
only one at a time, because of this I'm not sure if they should be
exposed as output channels, or sysfs switches.

The other issue is with the input pins, I believe the standard way to
handle this is by exposing every mux setting as a separate channel, then
only allowing one bit set in the scan mask, but for this part, when all
differential combinations are exposed we have more than 100 channels,
and the other part I'm working on makes this several times worse.

Could someone point to any information, or an existing driver, that
explains the preferred way to handle this?

Thanks,
Andrew

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-18 14:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 18:42 Question about differential muxing Andrew F. Davis
2016-04-16 13:18 ` Jonathan Cameron
2016-04-17 18:44   ` Andrew F. Davis
2016-04-18 12:17     ` Lars-Peter Clausen
2016-04-18 12:05   ` Lars-Peter Clausen
2016-04-18 13:42     ` jic23
2016-04-18 14:25     ` Daniel Baluta

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).