Hello,raghavendra,
Open linux/arch/arm/mach-mx25/mx25_3stack.c, and adjust the following code, then Try :
static struct imxi2c_platform_data mxci2c_data = {
.bitrate = 100000, /* if you want 10K , .biitrate = 10000;*/
};
/*!
* Board specific initialization.
*/
static void __init mxc_board_init(void)
{
.....
#ifdef CONFIG_I2C
mxc_register_device(&mxc_i2c_device0, &mxci2c_data);
i2c_register_board_info(0, mxc_i2c_board_info,
ARRAY_SIZE(mxc_i2c_board_info));
#endif
....
}
Recompile linux kernel , then check if i2c bit rate is right.
Regards,
Weidong