[lm-sensors] [PATCH] Support for DS75 thermal sensor
wg at grandegger.com
Tue Jul 8 15:38:14 CEST 2008
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
>>>> 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:
>>> 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
More information about the lm-sensors