]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: sama5d3: reduce TWI internal clock frequency
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 22 Nov 2013 16:08:43 +0000 (17:08 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 2 Dec 2013 13:14:42 +0000 (14:14 +0100)
commit9e9b3bbfec495758a6b337d9ec043c3c21c25a84
tree133061595c50da263866003aca05cdccacc46576
parent446a01ebfd5c46dcad993153e533f5f1d30e2d44
ARM: at91: sama5d3: reduce TWI internal clock frequency

With some devices, transfer hangs during I2C frame transmission. This issue
disappears when reducing the internal frequency of the TWI IP. Even if it is
indicated that internal clock max frequency is 66MHz, it seems we have
oversampling on I2C signals making TWI believe that a transfer in progress
is done.

This fix has no impact on the I2C bus frequency.

Cc: <stable@vger.kernel.org> #3.10+
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/sama5d3.c