i2c: mxs: Set I2C timing registers for mxs-i2c
authorMarek Vasut <marex@denx.de>
Mon, 9 Jul 2012 16:22:53 +0000 (18:22 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 13 Jul 2012 08:33:42 +0000 (10:33 +0200)
This patch configures the I2C bus timing registers according
to information passed via DT. Currently, 100kHz and 400kHz
modes are supported.

The TIMING2 register value is wrong in the documentation for
i.MX28! This was found and fixed by:
  Shawn Guo <shawn.guo@linaro.org>

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

No differences found