HI, dev:
i'm using kernel linux-4.1.18 on my board(am335x). i2c0 connect PCF8563 and SGL5000。
it runing success on must time, but sometimes fail, like:
Run FAIL:
omap_i2c 44e0b000.i2c: timeout waiting for bus ready
sgtl5000: probe of 0-000a failed with error -110
rtc-pcf8563 0-0051: chip found, driver version 0.4.3
omap_i2c 44e0b000.i2c: timeout waiting for bus ready
rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-110 addr=0e, data=03
rtc-pcf8563 0-0051: pcf8563_probe: write error
rtc-pcf8563: probe of 0-0051 failed with error -5
RunSUCC:
gtl5000 0-000a: sgtl5000 revision 0x11
rtc-pcf8563 0-0051: chip found, driver version 0.4.3
rtc rtc0: invalid alarm value: 2017-8-2 30:0:0
rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
On fail state, test i2c0 using Oscilloscope, SDA & SDL is low level。
i'm guess it: i2c0 pinmux set failed? or others?
how can i do ?