linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mpc5121e-Real Time Clock
@ 2010-04-14  7:39 CTAG / Moisés Domínguez
  2010-04-14 19:24 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: CTAG / Moisés Domínguez @ 2010-04-14  7:39 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

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.


[-- Attachment #2: Type: text/html, Size: 4404 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mpc5121e-Real Time Clock
  2010-04-14  7:39 mpc5121e-Real Time Clock CTAG / Moisés Domínguez
@ 2010-04-14 19:24 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2010-04-14 19:24 UTC (permalink / raw)
  To: CTAG / Moisés Domínguez; +Cc: linuxppc-dev

Dear =?iso-8859-1?Q?CTAG_/_Mois=E9s_Dom=EDnguez?=,

In message <E70643A89AF74DE1BCA25C3C4AE2CE29@ctag> you wrote:
> 
> 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.

It is not.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
To the systems programmer,  users  and  applications  serve  only  to
provide a test load.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-14 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-14  7:39 mpc5121e-Real Time Clock CTAG / Moisés Domínguez
2010-04-14 19:24 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).