On Wed, Oct 10, 2012 at 6:50 PM, Fabio Estevam <feste...@gmail.com> wrote:
> Hi,
>
> Has anyone managed to get i2c to work on mx25?
>
> I am using the latest u-boot.imx tree and I noticed that "i2c_write"
> always returns error.

Ok, i2c_write does work now. This recent commit fixed it:

commit b1e9e9ef71e6a33c3cc675a18be48929d4a8479f
Author: Matthias Weisser <weiss...@arcor.de>
Date:   Mon Sep 24 02:46:53 2012 +0000

    imx: Use MXC_I2C_CLK in imx i2c driver

    i2c didn't work on imx25 due to missing MXC_IPG_PERCLK. Now using
    MXC_I2C_CLK on all imx systems using i2c.

    Signed-off-by: Matthias Weisser <weiss...@arcor.de>
    Acked-by: Stefano Babic <sba...@denx.de>

This allows me to write to the PMIC and I can turn on the power supply
for the FEC.

Still not able to get FEC to work on mx25pdk, but it seems to be
another problem now.

Regards,

Fabio Estevam
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to