I am trying to interface rtc-isl1208 to my custom board. i am using i2c0 to connect to isl1208 but the check in the driver for the device fails each time. (i2c_validate_client)
I have done the following to connect the rtc in my linux BSP
changed the mx28evk.c
static struct i2c_board_info __initdata mxs_i2c_device[] = {
// { I2C_BOARD_INFO("sgtl5000-i2c", 0x14), .flags = I2C_M_TEN }
{ I2C_BOARD_INFO("rtc-isl1208", 0x6f), .flags = I2C_M_TEN }
};
and then compiled the rtc-isl1208 as a module and as part of the kernel both. But both ways it fails.
Please if anyone can tell how to find out the problem or if i am doing something wrong