public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Kechin <okechin.omap@gmail.com>
To: linux-omap@vger.kernel.org
Subject: OMAP5910 I2C problem
Date: Wed, 12 Mar 2008 17:12:17 +0200	[thread overview]
Message-ID: <47D7F2D1.9040007@gmail.com> (raw)

Hi!

I've experienced problem with OMAP5910 I2C driver in my custom board.
It freezes after some working time.
When it freezes, register I2C_STAT show that XUDF (or ROVR) bit is set 
and SCL pin
is in low state.
I2C_CNT register is not zero too, but buf_len counter is zero.
Attempt to use init() function do not help in this situation.
Only things I can do with it - set I2C to debug mode and make some SCL 
clocks by hand.
After this I2C state machine can work for some time.
When I2C clock is set to 100kHz it happens almost in every transfer - I 
try to read/write
EEPROM. In 20kHz it still can happen too (on heavy load much frequently).
It's look like internal I2C state machine is broken.
So, for now I replace i2c algorithm with i2c_algo_bit and everything 
works fine.

I'm curious - only I have such a problem with I2C bus in OMAP 5910 or 
someone else too?
May be there is better solution?


With regards
Oleg Kechin.


             reply	other threads:[~2008-03-12 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12 15:12 Oleg Kechin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-13 18:17 OMAP5910 I2C problem Oleg Kechin
2008-03-21 17:58 ` Hunter, Jon

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=47D7F2D1.9040007@gmail.com \
    --to=okechin.omap@gmail.com \
    --cc=linux-omap@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