I2C re-probe after boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C re-probe after boot

1,116 Views
Cruncher
Contributor I

We have a RTC/NVRAM  (PCF2127a) chip on the i2C bus. We have seen a few rare occasions where it is not detected during boot (but is detect on another boot). Is there a way for me to force a re-probe if we don't see the device after we boot up?

To help debug this issue we have put a switch on the data line, so I can force a failure at boot. But I still can't talk to the chip afterwards because the part wasn't detected.

This is on an iMX35 on 2.6.31 kernel. The device driver is built in, I don't believe its in a module.

i2c-adapter i2c-0: IRQ: Bus Arbitration lost

i2c-adapter i2c-0: Could not grab Bus ownership

WARNING:  i2c bus failed.  RTC is not itialized or registered

rtc-pcf2127a: probe of 0-0051 failed with error -121

i2c /dev entries driver

Labels (1)
Tags (2)
2 Replies

613 Views
jimmychan
NXP TechSupport
NXP TechSupport

seems it is not stable during boot. Have you try to build it as module and then load it automatically after boot?

613 Views
Cruncher
Contributor I

I haven't, but I will give that a try when I can. Other fires are hotter right now.

0 Kudos