Hi,
I followed up on Remi's post and to see which RTC is powering up the QSB. The default kernel configuration uses the mxc_rtc, the RTC available on the processor and only the /dev/rtc0 device is available.
I thought maybe the DA9053 is being supplied with power and enabled the CONFIG_RTC_DRV_DA9052=y and recompiled the kernel. Now I had two RTC devices, the /dev/rtc0 corresponding to the mxc_rtc and the /dev/rtc1 for da9052-rtc.
However looking at the information from the sysfs the RTC clock on the DA9053 is not running. It is always set to Jan 1 2000.
Here is the commands and output i used for reference
# cat /sys/class/rtc/rtc1/name
da9052-rtc
# cat /sys/class/rtc/rtc1/date
2000-01-01
# cat /sys/class/rtc/rtc1/time
00:00:00
# cat /sys/class/rtc/rtc0/name
mxc_rtc
# cat /sys/class/rtc/rtc0/date
1970-01-02
# cat /sys/class/rtc/rtc0/time
00:14:52
# cat /sys/class/rtc/rtc1/name
da9052-rtc
# cat /sys/class/rtc/rtc1/date
2000-01-01
# cat /sys/class/rtc/rtc1/time
00:00:00
# cat /sys/class/rtc/rtc0/name
mxc_rtc
# cat /sys/class/rtc/rtc0/date
1970-01-02
# cat /sys/class/rtc/rtc0/time
00:15:21
As one can see, the rtc0 is ticking while the rtc1 is not. Any one has any idea why?
Thanks