[U-Boot] [PATCH 4/4 V5] I2C: mxc_i2c rework

Jason Hui
2011-09-23T03:32:13Z

Hi, Marek,

On Fri, Sep 23, 2011 at 3:22 AM, Marek Vasut <marek.vasut@gmail.com> wrote:
> Rewrite the mxc_i2c driver.
> ?* This version is much closer to Linux implementation.
> ?* Fixes IPG_PERCLK being incorrectly used as clock source
> ?* Fixes behaviour of the driver on iMX51
> ?* Clean up coding style a bit ;-)
>
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Jason Hui <jason.hui@linaro.org>
> ---
> ?drivers/i2c/mxc_i2c.c | ?422 +++++++++++++++++++++++++++++++++----------------
> ?1 files changed, 289 insertions(+), 133 deletions(-)
>
> V2: Use PERCLK as a source.
> V3: Remove forgotten unused variables.
> V4: Add missing Cc field to commit message.
> V5: Correct TX_NO_AK bit handling.
>

Test on i.MX53evk, it woks now.

Acked-by: Jason Liu <jason.hui@linro.org>
Tested-by: Jason Liu <jason.hui@linro.org>

BR,
Jason Liu

>