linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: "Shah, Nehal-bakulchandra" <Nehal-bakulchandra.Shah@amd.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>
Subject: Re: Designware i2c loopback
Date: Wed, 9 Aug 2017 15:00:32 +0300	[thread overview]
Message-ID: <9c0aa22a-5a78-b18a-e2e9-607a1b694140@linux.intel.com> (raw)
In-Reply-To: <MWHPR1201MB24949D9452D00C328705A0B9A08A0@MWHPR1201MB2494.namprd12.prod.outlook.com>

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

      reply	other threads:[~2017-08-09 12:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08 14:24 Designware i2c loopback Shah, Nehal-bakulchandra
2017-08-09 12:00 ` Jarkko Nikula [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c0aa22a-5a78-b18a-e2e9-607a1b694140@linux.intel.com \
    --to=jarkko.nikula@linux.intel.com \
    --cc=Nehal-bakulchandra.Shah@amd.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=linux-i2c@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).