[PATCH] at91sam9g45: fix i2c bus speed

Peter Korsgaard jacmet at sunsite.dk
Thu Sep 23 06:21:14 EDT 2010


>>>>> "Russell" == Russell King <- ARM Linux <linux at arm.linux.org.uk>> writes:

Hi,

 Russell> udelay(5) should always give something approximating a 5us
 Russell> delay, as we calibrate this delay loop against the system
 Russell> timer.  What I could believe is probably going on here is that
 Russell> writing to the hardware is adding additional delays - but
 Russell> that's nothing to do with the CPU speed itself.

Well, the gpio handling (sw) overhead is to a certain degree related to
the CPU speed.

-- 
Bye, Peter Korsgaard



More information about the linux-arm-kernel mailing list