From: Lubomir Popov <lpopov@mm-sol.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] OMAP3 i2c issues on IGEP, u-boot 2013.10
Date: Wed, 27 Nov 2013 18:01:18 +0200 [thread overview]
Message-ID: <5296174E.20805@mm-sol.com> (raw)
In-Reply-To: <5296153F.9040006@compulab.co.il>
Hi Nikita,all,
On 27-Nov-13 17:52, Nikita Kiryanov wrote:
> On 11/27/2013 05:28 PM, Thomas Petazzoni wrote:
>> Dear Nikita Kiryanov,
>>
>> On Wed, 27 Nov 2013 16:52:56 +0200, Nikita Kiryanov wrote:
>>
>>>>> Not sure to understand your question: my paragraph above mentions the
>>>>> IGEP board as being the platform on which I'm seeing this. So
>>>>> indeed, a
>>>>> OMAP3-based board is affected. But maybe I misunderstood your
>>>>> question.
>>>>>
>>>>
>>>> Oops, sorry, bad question :)
>>>>
>>>> Anybody knows if other OMAP3-based boards are affected for this
>>>> issue ?
>>>
>>> Our boards were also affected by this, and I managed to track the
>>> problem down to the zeroing of cnt register at the end of write, which
>>> was not present in the original version of the driver and appears to be
>>> triggering an issue that is mentioned in OMAP3 errata.
>>>
>>> I just posted a patch to address this problem. You can find it here:
>>> http://patchwork.ozlabs.org/patch/294593/
>>
>> Thanks for this patch. Unfortunately, I've applied it, and it doesn't
>> fix the problem for me. I still have those I2C issues (did 3 boots of
>> the IGEP boards, two of the boot failed with an endless stream of
>> "i2c_read (addr phase): pads on bus 0 probably not configured
>> (status=0x10)") message.
>>
>> Thanks,
>>
>> Thomas
>>
>
> The zeroing of the cnt register also happens in other places in the
> driver, and it is entirely possible that they should be removed for
> OMAP3s as well.
>
> In my patch I removed it only for i2c_write() because the original
> driver also zeroed the cnt register in I/O functions- except in
> i2c_write(), and I decided to follow the original driver's lead.
>
> What happens if you remove all the lines that zero the cnt register?
>
I think you are on the right track.
Tom R, I guess I have been right back in spring when proposing this
to be a driver for OMAP4+ only.
Best regards,
Lubo
next prev parent reply other threads:[~2013-11-27 16:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 12:19 [U-Boot] OMAP3 i2c issues on IGEP, u-boot 2013.10 Thomas Petazzoni
2013-11-27 13:56 ` Enric Balletbo Serra
2013-11-27 14:11 ` Thomas Petazzoni
2013-11-27 14:22 ` Enric Balletbo Serra
2013-11-27 14:50 ` Andreas Bießmann
2013-11-27 14:52 ` Nikita Kiryanov
2013-11-27 15:28 ` Thomas Petazzoni
2013-11-27 15:52 ` Nikita Kiryanov
2013-11-27 16:01 ` Lubomir Popov [this message]
2013-11-27 16:13 ` Tom Rini
2013-11-27 21:16 ` Lubomir Popov
2013-11-27 16:10 ` Thomas Petazzoni
2013-11-27 16:31 ` Nikita Kiryanov
2013-11-27 17:12 ` Enric Balletbo Serra
2013-11-28 13:06 ` Nikita Kiryanov
2013-11-27 14:58 ` Nikita Kiryanov
2013-11-27 14:45 ` Tom Rini
2013-11-27 15:35 ` Thomas Petazzoni
2013-11-27 15:45 ` Michael Trimarchi
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=5296174E.20805@mm-sol.com \
--to=lpopov@mm-sol.com \
--cc=u-boot@lists.denx.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