linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* i2c-gpio slave support
@ 2016-02-25 17:53 Ido Reis
  2016-02-25 21:06 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Ido Reis @ 2016-02-25 17:53 UTC (permalink / raw)
  To: linux-i2c

Hi i2c Experts,

I want to implement a slave device using gpio on my DragonBoard
410c/RaspberryPi.
As a start, I intend to use the i2c-slave-eeprom as the slave device
itself, and wanted to use the i2c-gpio as the bus device.
It looks like that the i2c-gpio does not support slave functionalities
(actually I was wondering why as it should be pretty much straight
forward).
Is there such implementation (couldn't find any in the list history)?
Are there any restrictions to implement one?

Thanks,
Ido

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: i2c-gpio slave support
  2016-02-25 17:53 i2c-gpio slave support Ido Reis
@ 2016-02-25 21:06 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2016-02-25 21:06 UTC (permalink / raw)
  To: Ido Reis; +Cc: linux-i2c

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]


> Is there such implementation (couldn't find any in the list history)?

Nope.

> Are there any restrictions to implement one?

Honestly, I don't think this is feasible. Even at a kind of slow bus
speed of 100 kHz, you'd probably create quite some load. And since you
don't have any guarantee of interrupt latency being below your desired
threshold, you have no guarantee to keep up with the timing of the
master. Which you must.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-25 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 17:53 i2c-gpio slave support Ido Reis
2016-02-25 21:06 ` 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).