[PATCH] at91sam9g45: fix i2c bus speed

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Sep 23 08:00:23 EDT 2010


On 13:32 Thu 23 Sep     , Peter Korsgaard wrote:
> >>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> writes:
> 
> Hi,
> 
>  >> And yes, if you run the SoC at nonstandard (slower) speed this might be
>  >> slower than 100Khz, but that's still safe, so not a big deal.
> 
>  Jean-Christophe> except you can also overclock the SoC in some case so
>  Jean-Christophe> it's still not safe
> 
> Sure, you can do lots of crazy stuff. Instead of discussion this back
> and forward, do you agree that udelay=5 is better/safer/more sensible
> than the current udelay=2 value?
no it's not safer it's hardcoded value where it's board specific
so we just close our eyes on the problem by doing this
it's time to fix it correctly
> 
>  Jean-Christophe> and force this speed for all boards :(
> 
> Just like it has always been.
does not means it's right

Best Regards,
J.



More information about the linux-arm-kernel mailing list