AnsweredAssumed Answered

MCF v4 - Linux I2C bus driver, how to select adapter?

Question asked by lmhdoms on Nov 11, 2010
Latest reply on Jan 4, 2011 by lmhdoms

Hello all,


The MCF54418 has 6 I2C modules. In my setup I am using I2C5 connected to three I2C slave devices. U-Boot has been modfied to correctly probe all slaves. Moving on to Linux I face that the driver will initialize I2C0 and not I2C5, hence my slaves can not be detected. On I2C0 the slave 2C (a clock chip) is detected and I can communicate through i2c-dev. So all is fine, except for the adapter selection.


I looked in the driver "linux/drivers/i2c/busses/i2c-mcf.c" but the changes needed are not evident!


Any help is appreciated. I belive Linux should be able to find both adapters, but if not then I2C5 is enough.


I am using ltib-modelo-20100709 and I have attached a listing of U-Boot and kernel boot.


Thanks and regards,

- Lars