All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: it87 pwm patch for 2.6.6
Date: Thu, 19 May 2005 06:25:01 +0000	[thread overview]
Message-ID: <20040612154233.32481cc0.khali@linux-fr.org> (raw)
In-Reply-To: <20040516205100.GA9996@nemo.sby.abo.fi>

Quoting myself:

> But I really wonder about these ones. the /250 makes me guess that the
> temperature has a 0.25 degree resolution. So, limiting to -127,+127
> means -31 to +31 degrees. It hardly makes sense. Same probably goes
> for the /25. Could you please check with the datasheet and code and
> confirm whether these -127,+127 limits make sense?

I just checked:

EXTTEMP_TO_REG is used on -32,+32 0.25 degree/bit registers, so it's OK
(except that the low limit could be -128 instead of -127, but it doesn't
really matter).

OFFSET_TO_REG is not used anywhere (neither is OFFSET_FROM_REG) so you
can discard them completely.

Please update your patch and submit to Greg. I'll backport to 2.4 then.

Thanks.

-- 
Jean Delvare
http://khali.linux-fr.org/

  parent reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 it87 pwm patch for 2.6.6 Jonas Munsin
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jonas Munsin
2005-05-19  6:25 ` Jonas Munsin
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jonas Munsin
2005-05-19  6:25 ` Jean Delvare [this message]
2005-05-19  6:25 ` Jean Delvare

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=20040612154233.32481cc0.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.