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 keep RTC time

Other Parts Discussed in Thread: TPS65910

Good holiday TI

We use tps65910 external RTC , and I have check it in u-boot  using i2c-probe:  (valid: 0x2D),then I check code in board file in kernel.

 static struct i2c_board_info /*__initdata*/  am335x_i2c1_boardinfo[] = {

            I2C_BOARD_INFO("tps65910", TPS65910_I2C_ID1),

             .platform_data = &am335x_tps65910_info,

}

But the message below in kernel

    omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0

I think the message below is correct

   tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc0

So , I command the CONFIG_RTC_DRV_OMAP in config, and the message is 

   drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

and we can't make "hwclock -r". Please tell me whether the coin battery with RTC can't be kept has relationship with this ? Thank you.