Hi ,
We have ported Android JB 4.2.5p1 on our custom board. Our board has Bq27520 battery chip-set. We get i2c timeout error when we try to include the battery driver from 4.2.2p1 release as shown below :
omap_i2c omap_i2c.2: timeout waiting for bus ready
[ 32.926940] power_supply bq27500-0: driver failed to report `temp' property: 4294966918
[ 34.025756] omap_i2c omap_i2c.2: timeout waiting for bus ready
[ 34.032257] bq27x00-battery 2-0055: error reading cycle count total
[ 35.041381] omap_i2c omap_i2c.2: timeout waiting for bus ready
[ 35.066894] power_supply bq27500-0: driver failed to report `temp' property: 4294966917
[ 36.275787] omap_i2c omap_i2c.2: timeout waiting for bus ready
[ 36.275848] bq27x00-battery 2-0055: error reading cycle count total
[ 37.291442] omap_i2c omap_i2c.2: timeout waiting for bus ready
[ 37.310333] power_supply bq27500-0: driver failed to report `temp' property: 4294966918
[ 38.525787] omap_i2c omap_i2c.2: timeout waiting for bus ready
[ 38.525878] bq27x00-battery 2-0055: error reading cycle count total
[ 38.746459] request_suspend_state: wakeup (3->0) at 38736328127 (2000-01-01 00:00:35.055389404 UTC)
[ 38.754669] init: untracked pid 100 exited
[ 38.756103] init: untracked pid 106 exited
[ 39.126190] omap-iommu omap-iommu.1: ipu: version 2.1
[ 39.541381] omap_i2c omap_i2c.2: timeout waiting for bus ready
However when i use the Battery driver from ics, there seems to be no problem.
Any help would be greatly appreciated.
I have attached the entire log for your reference.
Thank You
Prakash