From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Date: Tue, 08 Jul 2008 13:29:35 +0000 Subject: Re: [lm-sensors] [PATCH] Support for DS75 thermal sensor Message-Id: <20080708152935.7457bc90@hyperion.delvare> List-Id: References: <487331DC.2020601@grandegger.com> In-Reply-To: <487331DC.2020601@grandegger.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lm-sensors@vger.kernel.org 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 DS= 75=20 > >> device properly. This patch from > >> > >> http://lists.lm-sensors.org/pipermail/lm-sensors/2007-February/018838.= html=20 > >> > >> does fix the problem and I wonder why it did not make it into the kern= el yet. > >=20 > > Because meanwhile the lm75 driver was converted to a new-style > > i2c driver, with support for the DS75: > >=20 > > http://lm-sensors.org/kernel?p=3Dkernel/mhoffman/hwmon-2.6.git;a=3Dcomm= it;h=EA6db11742de63324f29d1383122657cabe90940 > >=20 > > This will presumably go in kernel 2.6.27-rc1. >=20 > Ah, thanks for the info. Unfortunately, this new driver does not work=20 > with the DS75 on our custom board. THe identification fails, because=20 > 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. --=20 Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors