[lm-sensors] [PATCH] Add driver for AD7414 i2c temperature sensor
Sean MacLennan
seanm at seanm.ca
Mon Feb 18 19:15:14 CET 2008
Jean Delvare wrote:
> Hi Sean,
>
> On Sun, 17 Feb 2008 15:33:14 -0500, Sean MacLennan wrote:
>
>> I tried this driver and it didn't detect my ad7414 chip... the probe
>> function is never called
>>
>> I am using the i2c-ibm_iic.c driver for the i2c bus and running 2.6.25-rc2.
>>
>> It works using a different version of the driver and the attach and
>> detach methods. Could the ibm iic driver be missing something?
>>
>
> Frank's driver is a "new-style" i2c driver. These drivers do not probe
> the i2c adapters for supported chips automatically. Instead, platform
> code should explicitly instantiate the I2C devices that are present on
> the system. In the case of embedded designs, this is typically done by
> calling i2c_register_board_info() in platform code.
>
That works, thanks! So the patch works for me.
Cheers,
Sean
More information about the lm-sensors
mailing list