From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Michael Lawnick <ml.lawnick-Mmb7MZpHnFY@public.gmane.org>
Cc: Michael Fuckner <michael-iWcS09LKDTLR7s880joybQ@public.gmane.org>,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Decode dimms on dual socket machines
Date: Wed, 13 Apr 2011 10:39:52 +0200 [thread overview]
Message-ID: <20110413103952.68bdb6fa@endymion.delvare> (raw)
In-Reply-To: <4DA53F22.5020105-Mmb7MZpHnFY@public.gmane.org>
On Wed, 13 Apr 2011 08:13:54 +0200, Michael Lawnick wrote:
> Jean Delvare said the following:
> >> Now I loaded the module
> >>
> >> test24:/media/i2c-tools/tools # lsmod |grep pca
> >> pca954x 3288 0
> >> i2c_mux 2672 1 pca954x
> >> test24:/media/i2c-tools/tools # ll /sys/bus/i2c/devices/
> >> total 0
> >> lrwxrwxrwx 1 root root 0 Apr 12 14:26 0-0050 ->
> >> ../../../devices/pci0000:00/0000:00:1f.3/i2c-0/0-0050
> >> lrwxrwxrwx 1 root root 0 Apr 12 14:26 0-0052 ->
> >> ../../../devices/pci0000:00/0000:00:1f.3/i2c-0/0-0052
> >> lrwxrwxrwx 1 root root 0 Apr 12 14:26 0-0054 ->
> >> ../../../devices/pci0000:00/0000:00:1f.3/i2c-0/0-0054
> >> lrwxrwxrwx 1 root root 0 Apr 12 13:54 i2c-0 ->
> >> ../../../devices/pci0000:00/0000:00:1f.3/i2c-0
> >
> > Loading the pca954x driver doesn't do anything. It needs an
> > instantiated device with proper platform data before it will do
> > anything. This can only be done from within the kernel, using some sort
> > of platform initialization code.
>
> I would expect a
> #> echo "<deviceName> 0x70" > /sys/bus/i2c/devices/i2c-0/new_device
> to span new buses, their numbers taken by random, even without platform
> data (not tried by myself yet, but will have to do it soon).
Hmm, you're right, my memory that we has made platform data mandatory
was wrong, sorry.
> The challenge will be to detect which of the 8 supported devices (
> pca_9540, pca_9542, pca_9543, pca_9544, pca_9545, pca_9546, pca_9547,
> pca_9548) is actually to be used.
In Michael's case it is irrelevant anyway, as the information he found
meanwhile clearly indicates that bus multiplexing is achieved by GPIOs
(most certainly on the ICH10) and not an PCA954x chip. The chip at 0x70
is probably the Intel 5500 IOH.
--
Jean Delvare
next prev parent reply other threads:[~2011-04-13 8:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 10:10 Decode dimms on dual socket machines Michael Fuckner
[not found] ` <4DA4250A.3060907-iWcS09LKDTLR7s880joybQ@public.gmane.org>
2011-04-12 11:26 ` Jean Delvare
[not found] ` <20110412132611.045ace21-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-04-12 12:52 ` Michael Fuckner
[not found] ` <4DA44B05.906-iWcS09LKDTLR7s880joybQ@public.gmane.org>
2011-04-12 13:53 ` Jean Delvare
[not found] ` <20110412155345.4644e51c-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-04-13 6:13 ` Michael Lawnick
[not found] ` <4DA53F22.5020105-Mmb7MZpHnFY@public.gmane.org>
2011-04-13 8:39 ` Jean Delvare [this message]
[not found] ` <20110413103952.68bdb6fa-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-04-13 10:06 ` Michael Fuckner
[not found] ` <4DA575C3.1050100-iWcS09LKDTLR7s880joybQ@public.gmane.org>
2011-04-13 11:45 ` Jean Delvare
2011-04-19 12:24 ` Jean Delvare
2011-04-14 11:42 ` Michael Lawnick
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=20110413103952.68bdb6fa@endymion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=michael-iWcS09LKDTLR7s880joybQ@public.gmane.org \
--cc=ml.lawnick-Mmb7MZpHnFY@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).