From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Robin Getz <rgetz-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org>
Cc: "Mark D. Studebaker"
<mdsxyz123-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Mike Frysinger
<vapier.adi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: 32-bit I2C slave...
Date: Wed, 27 Jan 2010 21:05:44 +0100 [thread overview]
Message-ID: <20100127210544.113fb864@hyperion.delvare> (raw)
In-Reply-To: <201001271454.19876.rgetz-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org>
Hi Robin,
On Wed, 27 Jan 2010 14:54:19 -0500, Robin Getz wrote:
> Mark/Jean:
>
> I have a new I2C slave which has 32-bit data/addresses that I'm trying to
> figure out if I can connect up to the i801x chipset...
>
> A read is:
>
> S Addr Wr [A] Comm(31:24) [A] Comm(23:16) [A] Comm(15:8) [A] Comm(7:0) [A]
> S Addr R [A] [Data(31:24)] A [Data(23:16)] A [Data(15:8)] A [Data(7:0)] NA P
>
> A Write is:
>
> S Addr Wr [A] Comm(31:24) [A] Comm(23:16) [A] Comm(15:8) [A] Comm(7:0) [A]
> Data(31:24) [A] Data(23:16) [A] Data(15:8) [A] Data(7:0) [A] P
>
> Comm the 32-bit data which selects the register on the I2C slave.
>
> I can use I2C to do this...
>
> The question is - it doesn't look like the ./drivers/i2c/busses/i2c-i801.c
> supports enough I2C to do this - and I don't think I can abuse SMBus to talk
> to the part.
>
> Would you agree with my speculation? or am I missing some I2C_FUNC_I2C
> somewhere? or some magic way to make SMBUS work?
Your assumption is correct, the above transactions won't work on the
ICH SMBus. More precisely, writes will work but reads won't. For reads,
you'll need a full-featured I2C master.
--
Jean Delvare
http://khali.linux-fr.org/wishlist.html
next prev parent reply other threads:[~2010-01-27 20:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-27 19:54 32-bit I2C slave Robin Getz
[not found] ` <201001271454.19876.rgetz-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org>
2010-01-27 20:05 ` Jean Delvare [this message]
[not found] ` <20100127210544.113fb864-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-01-27 20:44 ` Robin Getz
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=20100127210544.113fb864@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mdsxyz123-/E1597aS9LQAvxtiuMwx3w@public.gmane.org \
--cc=rgetz-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org \
--cc=vapier.adi-Re5JQEeQqe8AvxtiuMwx3w@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