This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x i2c problem

Other Parts Discussed in Thread: AM3352, TPS65910, PCA9555

Hi, everyone
  my platform AM3352, BSP SDK 6.0, I want to add device under I2C bus, Modify linux/arch/arm/mach-omap2/board-am335xevm.c
static struct i2c_board_info __initdata am335x_i2c0_boardinfo[] = {
{
  
 {
  I2C_BOARD_INFO("tps65910", TPS65910_I2C_ID1),
  .platform_data  = &am335x_tps65910_info,
 },
 //Add device +++++++++++++++++++++++++++++++
 {
  I2C_BOARD_INFO("pca9555", 0x22),
  .platform_data  = &am335x_i2c_pca9555_platdata,
 },
 {
  I2C_BOARD_INFO("s35390a", 0x30),
 },
 //++++++++++++++++++++++++++++++++++++++++++
};
go to linux OS,device node can see,but input i2cdete -y -r 1
print info :
omap_i2c omap_i2c.1: timeout waiting for bus ready
omap_i2c omap_i2c.1: controller timed out
reboot system, go to linux OS ,I find have no the device node
ather I delete I add device,go to system,input i2cdete -y -r 1
print info:
omap_i2c omap_i2c.1: timeout waiting for bus ready
omap_i2c omap_i2c.1: controller timed out
So I think have nothing to do with the add device!
I have no idea!

  • - You added a hardware device. A good idea then is to look at the i2c signals using oscilloscope and tell us what is there.

    - You updated the kernel code. A good idea then is to look at the i2c related pinmux registers and list their contents here.

  • Hi,
     Thank you for your advice and question the reason has been found.
     Have a IC hang under the I2C, don't have the IC driver, I add a driver and OK now.