public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Temperature sensor on Sequoia board
Date: Sat, 23 Feb 2008 08:16:35 +0100	[thread overview]
Message-ID: <200802230816.35727.sr@denx.de> (raw)
In-Reply-To: <2C7DE72B9BD00F44BAECA5B0CBB87395072526@hermes.terascala.com>

On Thursday 21 February 2008, Mike Nuss wrote:
> > When I was checking the LM75/AD7414 driver using my Sequoia board, I
> > found that the AD7414 on the Sequoia does not appear to update its
> > temperature as its documentation describes.  I had to reset U-Boot to
> > get the temperature reading to change.  Also, every since I have had
> > that board, the first temperature reading reported by U-Boot after
> > applying power has always been incorrect.  I didn't find anything in
> > the AD7414 documentation that would explain this.
> >
> > Has anyone seen this behavior on other Sequoia boards?

Yes. I've seen this before, but forgot to take care of it.

> Yes. In my experience, the reason the first reading is often incorrect is
> simply because the monitoring can take a little time to start. I've seen
> the same behavior on the adm1026 and adt7462 also.

No. IIRC, then reading the temperatures starts working correctly after writing 
to the I2C device. So a simple "iprobe" will get it working. This is no 
solution of course.

> I definitely see temperature updates using the Linux driver for ad7414 on
> Sequoia, but in U-Boot I wouldn't expect it to change much anyway.

Yes, it works in Linux all the time, since Linux does an probe of the I2C 
devices itself. But we should really fix this in U-Boot too. Greatly 
appreciated, if somebody would take care of this issue. :)

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-02-23  7:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21 22:17 [U-Boot-Users] Temperature sensor on Sequoia board Mike Nuss
2008-02-23  7:16 ` Stefan Roese [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-21 22:11 Larry Johnson

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=200802230816.35727.sr@denx.de \
    --to=sr@denx.de \
    --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