From: Lanny DeVaney <ldevaney@redhat.com>
To: linux-mips@oss.sgi.com
Subject: RTC setup
Date: Fri, 22 Mar 2002 15:33:45 -0600 [thread overview]
Message-ID: <3C9BA339.5030709@redhat.com> (raw)
I'm having trouble figuring out how to setup the RTC for my Linux port.
My board has a Dallas DS1501WE chip, and I can't figure out the rhyme
or reason for the addr values passed to my rtc_write_data callback from
the kernel. I know my RTC base address, and can in fact go in and look
and see the date/time values at that location.
It appears for the mips boards that have rtc support in the kernel (some
do not), the actual code inside these callbacks differs, but I noted
that the DEC references a Dallas chip, others appear to use other rtc chips.
I would have assumed that the addr value passed to my rtc_write_data
callback would have been sequential in nature and I would simply return
the value at the (rtc_base_addr + offset passed in as addr), but the
addr values I see coming in are really sporadic.
Can anybody offer any suggestions, or does anybody know what the addr
values pased into the callback refer to?
Thanks,
Lanny DeVaney
Red Hat, Inc.
reply other threads:[~2002-03-22 21:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3C9BA339.5030709@redhat.com \
--to=ldevaney@redhat.com \
--cc=linux-mips@oss.sgi.com \
/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