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.

am3354 I2C problem

when I config the I2c2 info it work fail, the hardwork work well in android4.2 system. and use the same configure.

the log is below:

[ 0.096967] The board is a AM335x Beaglebone.
[ 0.097089] omap_i2c.2: alias fck already exists
[ 0.097273] ###setup_pin_mux
[ 0.097337] ###i2c2_init
[ 0.097373] Could not look up i2c3
[ 0.097392] ###omap_register_i2c_bus

my code is below:

static struct i2c_board_info am335x_i2c2_boardinfo[] = {
{
I2C_BOARD_INFO("ft5x0x_ts", 0x38),
},
};

static void i2c2_init(int evm_id, int profile)
{
printk("###setup_pin_mux\n");

setup_pin_mux(i2c2_pin_mux);
printk("###i2c2_init\n");
omap_register_i2c_bus(3, 100, am335x_i2c2_boardinfo,
ARRAY_SIZE(am335x_i2c2_boardinfo));

printk("###omap_register_i2c_bus\n");
return;
}