i2c speed up

Matthias Katzengruber katzengruber at gmail.com
Tue Sep 2 09:26:48 CEST 2008


Hello,

I found the reason why the i2c is on the phone so slow.
The phone uses the driver i2c-s3c2410.c
And after each acces to i2c there is the function msleep(1).
Which needs on the openmoko about 10ms.
I made a little patch for that and now i2c is quite fast.
Maybe that should help someone. One I2C-Access needs now about ~0.6ms 
and before it was 10ms.
I attached the patch.

Kind regards,
Matthias Katzengruber
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c_speed_up.patch
Type: text/x-diff
Size: 591 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080902/91cad852/attachment.patch 


More information about the openmoko-kernel mailing list