linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 8xx i2c refers to unspecified chip errata
@ 2002-10-09 20:14 Barker Michael-r43496
  2002-10-10 10:35 ` Joakim Tjernlund
  0 siblings, 1 reply; 30+ messages in thread
From: Barker Michael-r43496 @ 2002-10-09 20:14 UTC (permalink / raw)
  To: linuxppc-embedded


Hi - I've been looking at the i2c driver for MPC8260.  It's the first linux driver I have studied.  I have a couple of questions.

What experimental results or theory are behind the timeout values chosen when waiting for an interrupt from a write transaction?

Also: in the drivers/i2c/i2c-algo-cpm.c or i2c-algo-8xx.c file, I see the following a few times.  What two chip errata are the comments referring to?  A specific errata number would be enlightening.

---------snip
/* Chip errata, clear enable.
*/
i2c->i2c_i2mod = 0;

---------snip
/* Chip bug, set enable here */
save_flags(flags); cli();
i2c->i2c_i2cmr = 0x13;	/* Enable some interupts */
i2c->i2c_i2cer = 0xff;
i2c->i2c_i2mod = 1;	/* Enable */
i2c->i2c_i2com = 0x81;	/* Start master */
----------snip

Thanks for your attention -

--
Michael D. Barker, Motorola SPS Canada
This email along with any attachments is classified as:
[x]  General business information


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 30+ messages in thread
* RE: 8xx i2c refers to unspecified chip errata
@ 2002-10-10 17:01 Barker Michael-r43496
  0 siblings, 0 replies; 30+ messages in thread
From: Barker Michael-r43496 @ 2002-10-10 17:01 UTC (permalink / raw)
  To: linuxppc-embedded


That's good to know - however, I'm just interested in using the CPM.  So I will leave my original questions out there, and I may have more in the future.  Thanks.


> Dan Wrote
> > Just toggle the bits in software.  I never saw an
> application where the I2C
> > controller provided a performance advantage.  It's lots of
> software to execute,
> > along with all of the interrupt handling and stuff, so you
> just spend lots of
> > overhead not making any other progress.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-11-18 19:46 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-09 20:14 8xx i2c refers to unspecified chip errata Barker Michael-r43496
2002-10-10 10:35 ` Joakim Tjernlund
2002-10-10 16:18   ` Dan Malek
2002-10-10 16:35     ` Dr. Craig Hollabaugh
2002-10-11  7:28     ` Joakim Tjernlund
2002-10-11  7:50       ` bart
2002-10-11  9:12         ` Joakim Tjernlund
2002-10-11  9:56           ` bart
2002-10-11 12:02           ` Stephan Linke
2002-10-11 12:14             ` bart
2002-10-11 12:31               ` Stephan Linke
2002-10-11 12:46                 ` Joakim Tjernlund
2002-10-11 12:44             ` Joakim Tjernlund
2002-10-11 12:55               ` bart
2002-10-11 13:10                 ` Joakim Tjernlund
2002-10-15 16:57           ` Tom Rini
2002-10-22  9:15             ` Joakim Tjernlund
2002-10-24 16:10               ` Tom Rini
2002-10-24 18:21                 ` Joakim Tjernlund
2002-11-01 11:01                   ` Joakim Tjernlund
2002-11-01 19:19                     ` Tom Rini
2002-11-17 20:51                   ` Mark D. Studebaker
2002-11-17 21:44                     ` Joakim Tjernlund
2002-11-18 14:10                       ` Tom Rini
2002-11-18 19:04                         ` Mark D. Studebaker
2002-11-18 19:24                           ` Joakim Tjernlund
2002-11-18 19:31                             ` Tom Rini
2002-11-18 19:42                             ` Jean Delvare
2002-11-18 19:46                               ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2002-10-10 17:01 Barker Michael-r43496

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