linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Designware i2c loopback
@ 2017-08-08 14:24 Shah, Nehal-bakulchandra
  2017-08-09 12:00 ` Jarkko Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Shah, Nehal-bakulchandra @ 2017-08-08 14:24 UTC (permalink / raw)
  To: Jarkko Nikula, Andy Shevchenko, linux-i2c@vger.kernel.org

Hi ,

Is it possible to validate the loopback functionality with designware i2c driver? Assuming that I don't have any i2c-slave connected. Hence I want to validate some Xfer functionality with loop back.


Thanks
Nehal

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

* Re: Designware i2c loopback
  2017-08-08 14:24 Designware i2c loopback Shah, Nehal-bakulchandra
@ 2017-08-09 12:00 ` Jarkko Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Nikula @ 2017-08-09 12:00 UTC (permalink / raw)
  To: Shah, Nehal-bakulchandra, Andy Shevchenko,
	linux-i2c@vger.kernel.org

On 08/08/2017 05:24 PM, Shah, Nehal-bakulchandra wrote:
> Hi ,
> 
> Is it possible to validate the loopback functionality with designware i2c driver? Assuming that I don't have any i2c-slave connected. Hence I want to validate some Xfer functionality with loop back.
> 
I'm not aware. Datasheet kind of indicates it might be possible by 
setting the IC_TAR and IC_SAR to the same value but don't know what does 
that mean in practice. What kind of transfers are possible, driver 
changes, etc.

Of course now it should be possible to hook 2 controllers together after 
i2c-designware got the I2C slave support - configure one as an I2C 
master and another as an I2C slave controller.

-- 
Jarkko

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

end of thread, other threads:[~2017-08-09 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-08 14:24 Designware i2c loopback Shah, Nehal-bakulchandra
2017-08-09 12:00 ` Jarkko Nikula

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).