All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Application using i2c-imx.c
Date: Wed, 09 Dec 2009 16:49:37 +0000	[thread overview]
Message-ID: <20091209174937.61e4ae14@hyperion.delvare> (raw)
In-Reply-To: <2655c0a70912080328w33f34840x5e0702ce750cec70@mail.gmail.com>

On Wed, 9 Dec 2009 17:39:33 +0100, Javier Zugasti wrote:
> 2009/12/9 Jean Delvare <khali@linux-fr.org>
> > You claim you'd use i2c-imx, how do you know? Did you actually build
> > that driver? If it is modular, did you load the module?  Which machine
> > model are you using? i2c-imx is a platform driver, so the i2c-imx
> > device must be instantiated explicitly by the machine init code.
>
> Well, in the I2C support from menuconfig I selected the following options:
> 
> <*> I2C support --->
>       <*> I2C device interface
>               I2C Hardware Bus Support --->
>                    <*> IMX I2C interface
> 
> Should I just select I2C support and then use sysfs as you suggested before?

No, this suggestion of mine was unrelated.

> Could this be the reason why my I2C adapter isn't instantiated?

No. If the driver is properly build in, then I suspect that the device
itself is missing. Just check in /sys/devices/platform/ if it's there
or not. If not then something's missing in your machine init data.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

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

      parent reply	other threads:[~2009-12-09 16:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 11:28 [lm-sensors] Application using i2c-imx.c Javier Zugasti
2009-12-09  8:04 ` Jean Delvare
2009-12-09 15:29 ` Javier Zugasti
2009-12-09 15:46 ` Jean Delvare
2009-12-09 16:12 ` Javier Zugasti
2009-12-09 16:25 ` Jean Delvare
2009-12-09 16:39 ` Javier Zugasti
2009-12-09 16:49 ` Jean Delvare [this message]

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=20091209174937.61e4ae14@hyperion.delvare \
    --to=khali@linux-fr.org \
    --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.