From: Andrew Klossner <andrew@cesa.opbu.xerox.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] rtc/ds1374.c turns clock OFF when it means to turn it ON
Date: Fri, 23 Feb 2007 21:57:12 +0000 (UTC) [thread overview]
Message-ID: <loom.20070223T224959-650@post.gmane.org> (raw)
rtc/ds1374.c mistakes the "don't enable the oscillator" bit for a
"do enable the oscillator bit" and sets it to 1, stopping the clock.
My guess is that nobody has actually used rtc_set or rtc_reset
with this driver.
We've been using this chip for a few years with a proprietary OS
and are now switching to u-boot and Linux. I revised the u-boot
driver based on our stable driver. Besides fixing the oscillator bit,
I set it up to read all the registers with a single IIC transaction
for efficiency and to see any error code from the IIC subsystem.
I would attach the new driver here but I can't figure out how.
I'm typing through a broken "hello new user, we don't yet trust you"
web page. If somebody could send instructions to
andrew at cesa.opbu.xerox.com, I'd like to submit this revision.
Andrew Klossner
next reply other threads:[~2007-02-23 21:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-23 21:57 Andrew Klossner [this message]
2007-02-24 5:48 ` [U-Boot-Users] rtc/ds1374.c turns clock OFF when it means to turn it ON Stefan Roese
2007-02-26 17:46 ` Scott Wood
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=loom.20070223T224959-650@post.gmane.org \
--to=andrew@cesa.opbu.xerox.com \
--cc=u-boot@lists.denx.de \
/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