From: Michael Hennerich <michael.hennerich@analog.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon:lm75 add ADT75 support - requires
Date: Thu, 13 Oct 2011 06:12:43 +0000 [thread overview]
Message-ID: <4E96815B.7090600@analog.com> (raw)
In-Reply-To: <1318412218-4237-1-git-send-email-michael.hennerich@analog.com>
[-- Attachment #1.1: Type: text/plain, Size: 2590 bytes --]
On 10/12/2011 06:02 PM, Guenter Roeck wrote:
> On Wed, 2011-10-12 at 11:47 -0400, Jean Delvare wrote:
>> On Wed, 12 Oct 2011 11:36:58 +0200, michael.hennerich@analog.com wrote:
>>> From: Michael Hennerich<michael.hennerich@analog.com>
>>>
>>> The Analog Devices ADT75 has an additional register at 0x04
>>> for initiating oneshot captures. It is not actively used in
>>> this driver but we must avoid assuming it will behave as
>>> 0x05-0x07 do and return the last read value. In fact register 0x04
>>> reads the same as register 0x00. And all registers are repetitive
>>> mirrored around register 0x04. This fact is used to detect the ADT75.
>> I object. The detection of the original LM75 is there for historical
>> reasons (that chip was very popular on PC motherboards at the end of
>> the 90's. Other compatible chips were never so popular on PC
>> motherboards and this is the reason why they are _not_ detected by the
>> lm75 driver. If you have any of these chips, you have to instantiate
>> them explicitly.
>>
>> Same goes for the ADT75. I don't expect it on PC boards, but rather on
>> embedded designs where it should simply be instantiated, rather than
>> detected.
>>
>> It's still fine to document the ADT75 as being supported by the driver,
>> and adding an lm75_type enum value for it. But no detection, please.
>>
> Good point. I am fine with that.
I'm fine with that too. Auto-detect will always be problematic without
dedicated id registers. I'll submit a new patch shortly.
> Turns out the chip I referred to in my other e-mail is a TI TMP75. It
> won't be detected either, but works fine in our design because I
> instantiate it with i2c_register_board_info() during board
> initialization. Which is why I never noticed that auto-detection does
> not work for it.
Considering the number of other LM75 derivatives this driver
supports.Text oder Webseite übersetzen
I had wondered if every derivativehad the same behavioron unspecified
registers.
Meinten Sie: Ich hätte mich gewundert, */wenn/* sich gleich verhalten hätten
Geben Sie Text oder eine Website-Adresse ein oder lassen Sie ein
Dokument übersetzen <http://translate.google.de/?tr=f&hl=de>.
Abbrechen <http://translate.google.de/?tr=t&hl=de>
Übersetzung von Deutsch nach Englisch
--
Greetings,
Michael
--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif
[-- Attachment #1.2: Type: text/html, Size: 5982 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2011-10-13 6:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 9:36 [lm-sensors] [PATCH] hwmon:lm75 add ADT75 support - requires michael.hennerich
2011-10-12 9:51 ` Jonathan Cameron
2011-10-12 15:19 ` Guenter Roeck
2011-10-12 15:25 ` Jonathan Cameron
2011-10-12 15:41 ` Guenter Roeck
2011-10-12 15:47 ` Jean Delvare
2011-10-12 16:02 ` Guenter Roeck
2011-10-12 20:34 ` Jean Delvare
2011-10-12 20:45 ` Guenter Roeck
2011-10-13 6:04 ` Michael Hennerich
2011-10-13 6:12 ` Michael Hennerich [this message]
2011-10-13 6:20 ` Jean Delvare
2011-10-13 6:50 ` Jean Delvare
2011-10-13 15:12 ` Guenter Roeck
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=4E96815B.7090600@analog.com \
--to=michael.hennerich@analog.com \
--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.