lkml.org 
[lkml]   [2002]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: speeding up i2c drivers
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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.679 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site