fsl_i2c: Impl. AN2919, rev 5 to calculate FDR/DFSR
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Thu, 17 Sep 2009 09:07:17 +0000 (11:07 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 28 Sep 2009 05:35:54 +0000 (07:35 +0200)
commit99404202127346b9e91503bbd69deafa18c980c4
tree1372e4b03a223c9c1d9d10d0a41c83dfed92cb4a
parentd01ee4db9302cfccaa5c548a1c4e873b415681a0
fsl_i2c: Impl. AN2919, rev 5 to calculate FDR/DFSR

The latest AN2919 has changed the way FDR/DFSR should be calculated.
Update the driver according to spec. However, Condition 2
is not accounted for as it is not clear how to do so.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
drivers/i2c/fsl_i2c.c