public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* speeding up i2c drivers
@ 2002-04-29 15:31 Murtada Shah
  2002-04-29 15:49 ` Yves Rutschle
  0 siblings, 1 reply; 2+ messages in thread
From: Murtada Shah @ 2002-04-29 15:31 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel

I want to speed up the linux kernel i2c drivers. They are running @ 
10Khz now, although i2c is capable of 100. Would anyone be able to point 
me to the right direction?

Murtada Shah


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

* Re: speeding up i2c drivers
  2002-04-29 15:31 speeding up i2c drivers Murtada Shah
@ 2002-04-29 15:49 ` Yves Rutschle
  0 siblings, 0 replies; 2+ messages in thread
From: Yves Rutschle @ 2002-04-29 15:49 UTC (permalink / raw)
  To: Murtada Shah; +Cc: linux-arm-kernel, linux-kernel

On Mon, Apr 29, 2002 at 09:31:46AM -0600, Murtada Shah wrote:
> I want to speed up the linux kernel i2c drivers. They are running @ 
> 10Khz now, although i2c is capable of 100. Would anyone be able to point 
> me to the right direction?

Look in drivers/i2c/*

The details depend on what algorithm your interface uses.
For "bitbanging" algorithm for example, timing information
is coded in the last parameters of the struct
i2c_algo_bit_data.

That said, i2c normally automatically slows down at the
speed of the slowest device on the bus, so it may well be
that the 10Khz you see has nothing to do with your kernel
driver.

HTH,
Y.


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

end of thread, other threads:[~2002-04-29 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-29 15:31 speeding up i2c drivers Murtada Shah
2002-04-29 15:49 ` Yves Rutschle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox