* I2C with bus muxes
@ 2006-07-20 15:16 Ben Warren
2006-07-20 15:22 ` Travis B. Sawyer
2006-07-20 18:51 ` Kumar Gala
0 siblings, 2 replies; 6+ messages in thread
From: Ben Warren @ 2006-07-20 15:16 UTC (permalink / raw)
To: Linuxppc-embedded
Hello,
Has anyone implemented devices like the Philips PCA954x I2C bus muxes
under the /sysfs device model? I have some optical transponders on my
board that through the wisdom of some committee all have the same fixed
I2C address. To get around this, we put them behind muxes, creating
'virtual' I2C busses. I imagine this could be modeled something like
the USB hub model, but that's just a first stab.
regards,
Ben
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: I2C with bus muxes
2006-07-20 15:16 I2C with bus muxes Ben Warren
@ 2006-07-20 15:22 ` Travis B. Sawyer
2006-07-20 15:36 ` Ben Warren
2006-07-20 18:51 ` Kumar Gala
1 sibling, 1 reply; 6+ messages in thread
From: Travis B. Sawyer @ 2006-07-20 15:22 UTC (permalink / raw)
To: bwarren; +Cc: Linuxppc-embedded
Ben Warren wrote:
> Hello,
>
> Has anyone implemented devices like the Philips PCA954x I2C bus muxes
> under the /sysfs device model? I have some optical transponders on my
> board that through the wisdom of some committee all have the same fixed
> I2C address. To get around this, we put them behind muxes, creating
> 'virtual' I2C busses. I imagine this could be modeled something like
> the USB hub model, but that's just a first stab.
>
>
Ben:
I have a driver for 2.4.x that works with our SFP/XFPs. We also have a
bunch of other 'stuff'
hanging off of muxes. I haven't given it a go on 2.6, but I have it
compiled and it doesn't complain on
startup.
Not sure if I should send it here, as it won't be in patch form...
Lemme know if you want a look-see,
Travis
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: I2C with bus muxes
2006-07-20 15:22 ` Travis B. Sawyer
@ 2006-07-20 15:36 ` Ben Warren
0 siblings, 0 replies; 6+ messages in thread
From: Ben Warren @ 2006-07-20 15:36 UTC (permalink / raw)
To: Travis B. Sawyer; +Cc: Linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
Thanks Travis,
On Thu, 2006-07-20 at 11:22 -0400, Travis B. Sawyer wrote:
> I have a driver for 2.4.x that works with our SFP/XFPs. We also have a
> bunch of other 'stuff'
> hanging off of muxes. I haven't given it a go on 2.6, but I have it
> compiled and it doesn't complain on
> startup.
>
I'm happy to see anything. Due to time constraints, I may end up doing
most of my devices stuff 2.4-style anyway, at least for now, since I
have a much firmer grasp on the concepts...
> Not sure if I should send it here, as it won't be in patch form...
>
Please pass your code along whenever it's convenient. Your call whether
to the list or just to me.
Cheers,
Ben
[-- Attachment #2: Type: text/html, Size: 1212 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: I2C with bus muxes
2006-07-20 15:16 I2C with bus muxes Ben Warren
2006-07-20 15:22 ` Travis B. Sawyer
@ 2006-07-20 18:51 ` Kumar Gala
2006-07-20 19:01 ` Ben Warren
1 sibling, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2006-07-20 18:51 UTC (permalink / raw)
To: bwarren; +Cc: Linuxppc-embedded
On Jul 20, 2006, at 10:16 AM, Ben Warren wrote:
> Hello,
>
> Has anyone implemented devices like the Philips PCA954x I2C bus muxes
> under the /sysfs device model? I have some optical transponders on my
> board that through the wisdom of some committee all have the same
> fixed
> I2C address. To get around this, we put them behind muxes, creating
> 'virtual' I2C busses. I imagine this could be modeled something like
> the USB hub model, but that's just a first stab.
I'm pretty sure I submitted a set of patches for this upstream.
However there was some desire to hold off until some other changes.
http://marc.theaimsgroup.com/?l=linux-kernel&m=114376108231285&w=2
http://marc.theaimsgroup.com/?t=114316214100001&r=1&w=2
- kumar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: I2C with bus muxes
2006-07-20 18:51 ` Kumar Gala
@ 2006-07-20 19:01 ` Ben Warren
2006-07-20 19:18 ` Kumar Gala
0 siblings, 1 reply; 6+ messages in thread
From: Ben Warren @ 2006-07-20 19:01 UTC (permalink / raw)
To: Kumar Gala; +Cc: Linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
Way cool! Thanks a lot. I'll try it out when my hardware comes in...
regards,
Ben
On Thu, 2006-07-20 at 13:51 -0500, Kumar Gala wrote:
> On Jul 20, 2006, at 10:16 AM, Ben Warren wrote:
>
> > Hello,
> >
> > Has anyone implemented devices like the Philips PCA954x I2C bus muxes
> > under the /sysfs device model? I have some optical transponders on my
> > board that through the wisdom of some committee all have the same
> > fixed
> > I2C address. To get around this, we put them behind muxes, creating
> > 'virtual' I2C busses. I imagine this could be modeled something like
> > the USB hub model, but that's just a first stab.
>
> I'm pretty sure I submitted a set of patches for this upstream.
> However there was some desire to hold off until some other changes.
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=114376108231285&w=2
> http://marc.theaimsgroup.com/?t=114316214100001&r=1&w=2
>
> - kumar
>
>
[-- Attachment #2: Type: text/html, Size: 1826 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-07-20 19:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-20 15:16 I2C with bus muxes Ben Warren
2006-07-20 15:22 ` Travis B. Sawyer
2006-07-20 15:36 ` Ben Warren
2006-07-20 18:51 ` Kumar Gala
2006-07-20 19:01 ` Ben Warren
2006-07-20 19:18 ` Kumar Gala
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).