i2c: mv64xxx: Fix timing issue on Armada XP (errata FE-8471889)
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 22 Aug 2013 14:19:06 +0000 (16:19 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 23 Aug 2013 08:15:51 +0000 (10:15 +0200)
All the Armada XP (mv78230, mv78260 and mv78460) have a silicon issue
in the I2C controller which violate the i2c repeated start
timing. The I2C standard requires a minimum of 4.7us for the repeated
start condition whereas the I2C controller of the Armada XP this time
is 2.9us.

So this patch adds a 5us delay for the start case only if the
the compatible i2c-mv78230 is set.

Based on the initals patches from Zbigniew Bodek

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Zbigniew Bodek <zbb@semihalf.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

No differences found