All of lore.kernel.org
 help / color / mirror / Atom feed
* I2C Timeout error OMAP2430
@ 2007-02-19 11:24 Ram
  0 siblings, 0 replies; only message in thread
From: Ram @ 2007-02-19 11:24 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,
   Im using OMAP 2430. Im using OMAP2430SDP 4.0.1 and OMAP2430SDP V 2.80.
   I have ported keypad driver, TWL drivers to linux 2.6.19.

   Im getting interrupts whenever i press a key. However after 3/4 key presses.
   Im getting I2C bus time out error.

   Im using the i2c-omap.c that comes with open source linux 2.6.19.
   I have also tried with i2c-omap.c (i2c bus driver) thats there on
the latest git tree.

   I have tried Bus speeds, 2600, 400, 100.

  But i get the same error. After trying a few reads, it terminates
twl4030_irq_thread
  saying "Maximum I2C error count exceeded.  Terminating twl4030_irq_thread"



  How does one recover from such an error?. is resetting the i2c
controller the only way?.

   Has anyone faced this problem?.

  Please Advice,


  Regards,
    sriram


  Some of my debug prints are as follows:
 <7>i2c_adapter i2c-0: master_xfer[0] W, addr=0x49, len=1
 <7>i2c_adapter i2c-0: master_xfer[1] R, addr=0x49, len=1
 <4>i2c_omap i2c_omap.2: timeout waiting for bus ready
  i2c_omap i2c_omap.2: timeout waiting for bus ready

  <4>I2C error -110 while reading TWL4030 PIH ISR register.
      I2C error -110 while reading TWL4030 PIH ISR register.


   <4>I2C error -110 while reading TWL4030 PIH ISR register.
        I2C error -110 while reading TWL4030 PIH ISR register.
<3>Maximum I2C error count exceeded.  Terminating twl4030_irq_thread.
Maximum I2C error count exceeded.  Terminating twl4030_irq_thread.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-19 11:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-19 11:24 I2C Timeout error OMAP2430 Ram

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.