Hi,

 

I am trying  to use internal Real Time Clock of my ads5121 board .So that I
am using /dev/rtc-0 device with linux/Documentation/rtc.txt example. I can
read and write time/date but I notice RTC is not being updated as if VBAT
was off or there was not oscillator (I tested oscillator and VBAT).

 

According MPC5121e errdata of freescale doc., there’s an issue involving
RTC:

 

Description:

“The TAMP bit in the SRTC does not reliably provide an indication that the
RTC power supply or the RTC

oscillator has been interrupted”

 

Workaround:

“In your system’s design, do not rely on the tamper indication to be
reliable”

 

 

Looking in rtc-mpc5121.c code I didn’t find anything related to Keep Alive
Register (where TAMP bit is) so I would like to know where this issue is
taking into account or if it is really being taking into account in the
driver.

 

 

Regards,  Moisés.

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to