All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean MacLennan <seanm@seanm.ca>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] Add driver for AD7414 i2c temperature
Date: Mon, 18 Feb 2008 18:15:14 +0000	[thread overview]
Message-ID: <47B9CB32.40709@seanm.ca> (raw)
In-Reply-To: <A42C17A8FF150C4DB98BFD6497D1D00007F45D79@ussvlexmbpf1.spansion.com>

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

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2008-02-18 18:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12 16:50 [lm-sensors] [PATCH] Add driver for AD7414 i2c temperature sensor Edelhaeuser, Frank
2008-02-17 20:33 ` Sean MacLennan
2008-02-18 12:30 ` [lm-sensors] [PATCH] Add driver for AD7414 i2c temperature Jean Delvare
2008-02-18 18:15 ` Sean MacLennan [this message]
2008-02-18 18:55 ` Jean Delvare
2008-02-19  2:21 ` Sean MacLennan
  -- strict thread matches above, loose matches on Subject: below --
2008-06-15  8:01 Jean Delvare

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=47B9CB32.40709@seanm.ca \
    --to=seanm@seanm.ca \
    --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.