LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "CTAG / Moisés Domínguez" <moises.dominguez@ctag.com>
To: <linuxppc-dev@lists.ozlabs.org>
Subject: mpc5121e-Real Time Clock
Date: Wed, 14 Apr 2010 09:39:47 +0200	[thread overview]
Message-ID: <E70643A89AF74DE1BCA25C3C4AE2CE29@ctag> (raw)

[-- 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 --]

             reply	other threads:[~2010-04-14  7:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-14  7:39 CTAG / Moisés Domínguez [this message]
2010-04-14 19:24 ` mpc5121e-Real Time Clock Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E70643A89AF74DE1BCA25C3C4AE2CE29@ctag \
    --to=moises.dominguez@ctag.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox