All of lore.kernel.org
 help / color / mirror / Atom feed
* Looking for guidance to support 74CBTLV3253 mux
@ 2016-11-10 11:59 MikeB
  2016-11-10 12:52 ` Peter Rosin
  0 siblings, 1 reply; 8+ messages in thread
From: MikeB @ 2016-11-10 11:59 UTC (permalink / raw)
  To: linux-i2c

Hello,

I have a system with several 74CBTLV3253 mux set up as below.

+----------------+
|                |
|    PCA9547     |
|                |
+-------+----+---+
        |    |
        |    +-------------------+
        |                        |
   +----+----+          +--------+-------+
   |         +----------+                |
   |  CPLD   +----------+   74CBTLV3253  |
   |         |          |                |
   +---------+          +--+---+--+---+--+
                           |   |  |   |
                           |   |  |   |
                           +   +  +   +

In case the ascii-art is unlcear.  At the top is a PCA9547 mux.  On
one channel of the PCA9547 is a CPLD device.  On another channel of
the PCA9547 is a 74CBTLV3253 mux.  The CPLD has two signal lines
connected to the 74CBTLV3253 mux used to select its channel.  There
are four channels on the 74CBTLV3253.

I'm looking to provide an i2c mux driver for the 74CBTLV3253 mux.

A register in the CPLD device controls the channel selection in the 74CBTLV3253.

To select a 74CBTLV3253 channel, requires the following sequence.

1. Select the CPLD channel on PCA9547.
2. Write the 74CBTLV3253 channel number to a register in the CPLD.
3. Select the 74CBTLV3253 channel on the PCA9547.

I'm struggling with the best way to deal with the fact that the action
of selecting a channel on the 74CBTLV3253 must access a device on an
entirely different i2c-adapter.

Any advice or guidance on how to attack this mux driver would be appreciated.

Regards, Mike

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

end of thread, other threads:[~2016-11-20 10:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-10 11:59 Looking for guidance to support 74CBTLV3253 mux MikeB
2016-11-10 12:52 ` Peter Rosin
2016-11-10 13:01   ` Peter Rosin
2016-11-11 11:47     ` MikeB
2016-11-11 12:04       ` Peter Rosin
2016-11-11 12:18         ` Peter Rosin
2016-11-11 12:23           ` MikeB
2016-11-20  8:53           ` Peter Rosin

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.