From: Wolfgang Grandegger <wg@grandegger.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] Support for DS75 thermal sensor
Date: Tue, 08 Jul 2008 13:38:14 +0000 [thread overview]
Message-ID: <48736DC6.1050000@grandegger.com> (raw)
In-Reply-To: <487331DC.2020601@grandegger.com>
Jean Delvare wrote:
> On Tue, 08 Jul 2008 15:09:32 +0200, Wolfgang Grandegger wrote:
>> Jean Delvare wrote:
>>> On Tue, 08 Jul 2008 11:22:36 +0200, Wolfgang Grandegger wrote:
>>>> The existing driver for the LM75 is unable to identify a compatible DS75
>>>> device properly. This patch from
>>>>
>>>> http://lists.lm-sensors.org/pipermail/lm-sensors/2007-February/018838.html
>>>>
>>>> does fix the problem and I wonder why it did not make it into the kernel yet.
>>> Because meanwhile the lm75 driver was converted to a new-style
>>> i2c driver, with support for the DS75:
>>>
>>> http://lm-sensors.org/kernel?p=kernel/mhoffman/hwmon-2.6.git;a=commit;hê6db11742de63324f29d1383122657cabe90940
>>>
>>> This will presumably go in kernel 2.6.27-rc1.
>> Ah, thanks for the info. Unfortunately, this new driver does not work
>> with the DS75 on our custom board. THe identification fails, because
>> it's as in the old lm75.c driver (and not like Alan suggested).
>
> There's no "detection" involved for the new-style i2c devices.
> Presumably you are still using the old binding model, not taking
> benefit of the patch at all. Use i2c_register_board_info() to
> instantiate your "ds75" i2c device from you board's platform code, and
> it should work.
OK, I see. For my board I need to add a FDT node to the DTS file and add
some binding code like for the RTC. For the lm75, it still works without
that.
Wolfgang.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2008-07-08 13:38 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 9:22 [lm-sensors] [PATCH] Support for DS75 thermal sensor Wolfgang Grandegger
2008-07-08 9:53 ` Jean Delvare
2008-07-08 13:09 ` Wolfgang Grandegger
2008-07-08 13:29 ` Jean Delvare
2008-07-08 13:38 ` Wolfgang Grandegger [this message]
2008-07-11 12:40 ` Wolfgang Grandegger
2008-07-11 12:56 ` Jean Delvare
2008-07-16 9:12 ` Wolfgang Grandegger
2008-07-16 9:12 ` Wolfgang Grandegger
2008-07-16 9:33 ` Jean Delvare
2008-07-16 9:33 ` Jean Delvare
2008-07-16 9:50 ` [lm-sensors] " Wolfgang Grandegger
2008-07-16 9:50 ` Wolfgang Grandegger
2008-07-16 10:10 ` [lm-sensors] " Jean Delvare
2008-07-16 10:10 ` Jean Delvare
2008-07-16 10:23 ` [lm-sensors] " Wolfgang Grandegger
2008-07-16 10:23 ` Wolfgang Grandegger
2008-07-16 14:08 ` [lm-sensors] " Grant Likely
2008-07-16 14:08 ` Grant Likely
2008-07-16 14:18 ` [lm-sensors] " Jon Smirl
2008-07-16 14:18 ` Jon Smirl
2008-07-16 14:29 ` [lm-sensors] " Jean Delvare
2008-07-16 14:29 ` Jean Delvare
2008-07-17 7:31 ` [lm-sensors] " Wolfgang Grandegger
2008-07-17 7:31 ` Wolfgang Grandegger
2008-07-17 7:33 ` [lm-sensors] " Grant Likely
2008-07-17 7:33 ` Grant Likely
2008-07-17 10:39 ` [lm-sensors] " Wolfgang Grandegger
2008-07-17 10:39 ` Wolfgang Grandegger
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=48736DC6.1050000@grandegger.com \
--to=wg@grandegger.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.