* Omap3 : I2c Driver I2C_M_RECV_LEN support
@ 2010-02-17 10:55 Romeo Enrico
[not found] ` <4B7BCB20.4080008-xL9mfXOxRcg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Romeo Enrico @ 2010-02-17 10:55 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
Hi,
In Order to implement the communication between an Omap3530 configured
as master and a custom device configured as slave, I need to be able to
configure the size of readings dynamically according to the first byte
sent by the slave.
Checking kernel I found that in include/linux/i2c.h is declared the
I2C_M_RECV_LEN flag for the "struct i2c_msg" which should be what I'm
looking for... But I have not found an implementation of this feature in
the Omap I2c driver.
Can anyone confirm that the I2C_M_RECV_LEN is not actually supported by
the Omap I2c driver ?
Best Regards
Enrico
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Omap3 : I2c Driver I2C_M_RECV_LEN support
[not found] ` <4B7BCB20.4080008-xL9mfXOxRcg@public.gmane.org>
@ 2010-02-21 11:01 ` Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2010-02-21 11:01 UTC (permalink / raw)
To: Romeo Enrico; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA
Hi Enrico,
On Wed, 17 Feb 2010 11:55:28 +0100, Romeo Enrico wrote:
> In Order to implement the communication between an Omap3530 configured
> as master and a custom device configured as slave, I need to be able to
> configure the size of readings dynamically according to the first byte
> sent by the slave.
> Checking kernel I found that in include/linux/i2c.h is declared the
> I2C_M_RECV_LEN flag for the "struct i2c_msg" which should be what I'm
> looking for...
This is correct. This mechanism is used for the SMBus Block Read
transaction.
> But I have not found an implementation of this feature in
> the Omap I2c driver.
>
> Can anyone confirm that the I2C_M_RECV_LEN is not actually supported by
> the Omap I2c driver ?
Looking at the source code of the i2c-omap driver in Linus' kernel, I
can confirm there is no support. You might want to check for updates in
the omap tree though, or even ask on an omap-specific list: someone
might have already implemented it but not pushed it to mainstream yet.
--
Jean Delvare
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-21 11:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 10:55 Omap3 : I2c Driver I2C_M_RECV_LEN support Romeo Enrico
[not found] ` <4B7BCB20.4080008-xL9mfXOxRcg@public.gmane.org>
2010-02-21 11:01 ` Jean Delvare
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).