* 32-bit I2C slave...
@ 2010-01-27 19:54 Robin Getz
[not found] ` <201001271454.19876.rgetz-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Robin Getz @ 2010-01-27 19:54 UTC (permalink / raw)
To: Jean Delvare, Mark D. Studebaker
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Mike Frysinger
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?
Thanks
-Robin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 32-bit I2C slave...
[not found] ` <201001271454.19876.rgetz-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org>
@ 2010-01-27 20:05 ` Jean Delvare
[not found] ` <20100127210544.113fb864-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2010-01-27 20:05 UTC (permalink / raw)
To: Robin Getz
Cc: Mark D. Studebaker, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
Mike Frysinger
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 32-bit I2C slave...
[not found] ` <20100127210544.113fb864-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
@ 2010-01-27 20:44 ` Robin Getz
0 siblings, 0 replies; 3+ messages in thread
From: Robin Getz @ 2010-01-27 20:44 UTC (permalink / raw)
To: Jean Delvare
Cc: Mark D. Studebaker,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mike Frysinger
On Wed 27 Jan 2010 15:05, Jean Delvare pondered:
> 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.
Thanks for the nak. :)
-Robin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-27 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[not found] ` <20100127210544.113fb864-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-01-27 20:44 ` Robin Getz
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).