From: Christian Ruppert <christian.ruppert@alitech.com>
To: Lucas De Marchi <lucas.de.marchi@gmail.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
"wsa@the-dreams.de" <wsa@the-dreams.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"mika.westerberg@linux.intel.com"
<mika.westerberg@linux.intel.com>,
"jarkko.nikula@linux.intel.com" <jarkko.nikula@linux.intel.com>
Subject: Re: [PATCH] i2c: designware: do not disable adapter after transfer
Date: Mon, 9 May 2016 10:50:20 +0200 [thread overview]
Message-ID: <57dde84d-8c2c-b24d-da57-ce40fcf493ec@alitech.com> (raw)
In-Reply-To: <CAKi4VAJ4UMpezFpqro+2=gNQD=tjEN=wVC6kahT3wQQYTOquqg@mail.gmail.com>
Dear Lucas,
On 04.05.2016 16:38, Lucas De Marchi wrote:
> Hi Christian,
>
> On Mon, May 2, 2016 at 7:11 AM, Christian Ruppert
> <christian.ruppert@alitech.com> wrote:
>> Dear Lucas,
>>
>> On 22.04.2016 17:19, Lucas De Marchi wrote:
>>> CC'ing Christian.
>>>
>>> On Fri, Apr 22, 2016 at 12:08 PM, Lucas De Marchi
>>> <lucas.demarchi@intel.com> wrote:
> [...]
>> Bad news: Not all transfers seem to take place as they should.
>> I don't have the time for a deep analysis but a few quick
>> experiments seem to indicate that the adapter needs to be
>> disabled while updating TAR to a value different from the
>> previous one. Disabling the adapter does not seem to be
>> required if TAR doesn't change from one transfer to the next.
>> I don't know if there are any conditions under which we can
>> leave the adapter enabled while changing TAR but at least in
>> some cases it seems to work.
>
> :(
>
> This is unfortunate. If the bus is shared for 2 slave devices we will
> get the slow down back. I wonder if there's a HW version or something
> like that in the registers which can be used to add quirks to tweak the
> behavior. I'll dig some documentation, but if anyone knows, it'd be
> nice to have it pointed out.
There is such a register (DW_IC_COMP_VERSION) and we used it before for
hold time configuration, see line 374. In my case, the value of the
register is 0x3131372a. We're now just left with the problem to find out
how many (and which) hardware issues there are and in which version they
were fixed exactly...
Greetings,
Christian
next prev parent reply other threads:[~2016-05-09 8:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 2:47 Lucas De Marchi
2016-04-07 13:37 ` Christian Ruppert
2016-04-07 17:28 ` De Marchi, Lucas
2016-04-08 14:01 ` Christian Ruppert
2016-04-22 15:08 ` Lucas De Marchi
2016-04-22 15:19 ` Lucas De Marchi
2016-05-02 10:11 ` Christian Ruppert
2016-05-04 14:38 ` Lucas De Marchi
2016-05-09 8:50 ` Christian Ruppert [this message]
2016-04-25 11:51 ` Jarkko Nikula
2016-04-25 15:04 ` Lucas De Marchi
2016-04-27 7:47 ` Jarkko Nikula
2016-04-08 12:17 ` Jarkko Nikula
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=57dde84d-8c2c-b24d-da57-ce40fcf493ec@alitech.com \
--to=christian.ruppert@alitech.com \
--cc=jarkko.nikula@linux.intel.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lucas.de.marchi@gmail.com \
--cc=lucas.demarchi@intel.com \
--cc=mika.westerberg@linux.intel.com \
--cc=wsa@the-dreams.de \
/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
all inboxes | Powered by JetHome®