[PATCH] at91sam9g45: fix i2c bus speed

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Sep 22 06:48:46 EDT 2010


On 11:31 Wed 22 Sep     , Peter Korsgaard wrote:
> Use a correct udelay value to get bus speed around 100KHz. The udelay
> value was most likely copied from the older devices, but the 9g45
> is signicantly faster (400MHz, DDR, ..), so a udelay of 2 gives a
> bus speed of around 190KHz, which is too fast for some devices.
> A udelay value of 5 gives a bus speed of around 90KHz here.
> 
> Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
> ---
in this case it will be better to overwite it at board than force it for all
of them

Best Regards,
J.



More information about the linux-arm-kernel mailing list