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.

how to resolve "unable to open rtc device"

There is a rtc(pcf8563) on my device, but I found an error(unable to open rtc device) during kernel booting.my device is dm6467T, and the kernel is download from TI's websit, version is 2.6.32

my another device is DM6467, and it's kernel is 2.6.18(montavista), it has a rtc(pcf8563) too, and the rtc can work normally.

I've checked the code of pcf8563's driver in 2.6.32, I found the kernel hasn't excute the "probe" of pcf8563

I've added normal_i2c = {0x51, I2C_CLIENT_END} and the macro of I2CXXXXXXINSMODE, but the kernel still hasn't exucte "probe" of pcf8563

I've compared the code about i2c between 2.6.18 and 2.6.32, I found that there are many differences between 2.6.18 and 2.6.32.

I found there is not any definition about  "attatch","detect","address_data","class" and so on for pcf8563's driver. Is there anyone would tell me how to define them?

Is there any other method to resolve the problem to avoid these definitions ?

I want to get help from TI's experts, Thanks