* I2C Slave monitor mode support
@ 2014-06-16 9:57 Jagan Teki
[not found] ` <CAD6G_RRa9C0umBrR6CUF3zb5cSKKfZO7y7UPUKHjJOx41A0aJQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jagan Teki @ 2014-06-16 9:57 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hi,
Few of the I2C interfaces are [operated] with slave monitor mode, when
there is a requirement for
a particular slave may need to wait some time to get the ADDR before
sending an ACK.
In slave monitor mode, the I2C interface is set up as a master and
continues to attempt a transfer to
a particular slave until the slave device responds with an ACK.
This feature is an optional and defined in few of the controllers, Can
anyone tell me is this support is
added already in kernel, if yes please point to the respective driver
or code link.
thanks!
--
Jagan.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: I2C Slave monitor mode support
[not found] ` <CAD6G_RRa9C0umBrR6CUF3zb5cSKKfZO7y7UPUKHjJOx41A0aJQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-06-17 12:19 ` Wolfram Sang
[not found] ` <CAOZ77ogXPwXPtUxROJKT2wX=2wkZeHeWPZaBhyCnoP0zMxi8mw@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2014-06-17 12:19 UTC (permalink / raw)
To: Jagan Teki
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
> Few of the I2C interfaces are [operated] with slave monitor mode, when
> there is a requirement for
> a particular slave may need to wait some time to get the ADDR before
> sending an ACK.
Can you describe an existing scenario? Why can't the slave use clock
stretching?
> This feature is an optional and defined in few of the controllers, Can
> anyone tell me is this support is
> added already in kernel, if yes please point to the respective driver
> or code link.
None that I know of. The above questions should help me understand why
it is needed on master driver level at all.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: I2C Slave monitor mode support
[not found] ` <CAOZ77ogXPwXPtUxROJKT2wX=2wkZeHeWPZaBhyCnoP0zMxi8mw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-07-18 12:35 ` Wolfram Sang
0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2014-07-18 12:35 UTC (permalink / raw)
To: Suneel G
Cc: Jagan Teki, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
> Currently, one would have to put a loop on the address transfer waiting an ack
> is received in user space.
This is what most i2c master drivers would need to do anyhow. I have
never heard of hardware support for that. Do you know an IP core which
does that? And how are timeouts defined/handled?
> This helps the app or the user software to not busy wait considering the slow
> clk of i2c.
Currently, this is not supported in Linux I2C. It probably could be
using another I2C_M_* flag, but a number of details need to be designed
and implemented first. Would you be interested?
Kind regards,
Wolfram
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-18 12:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 9:57 I2C Slave monitor mode support Jagan Teki
[not found] ` <CAD6G_RRa9C0umBrR6CUF3zb5cSKKfZO7y7UPUKHjJOx41A0aJQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-17 12:19 ` Wolfram Sang
[not found] ` <CAOZ77ogXPwXPtUxROJKT2wX=2wkZeHeWPZaBhyCnoP0zMxi8mw@mail.gmail.com>
[not found] ` <CAOZ77ogXPwXPtUxROJKT2wX=2wkZeHeWPZaBhyCnoP0zMxi8mw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-18 12:35 ` Wolfram Sang
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).