Re: mpc870: hctosys.c unable to open rtc device rtc0

2010-08-10 Thread Shawn Jin
> Thanks Scott for the confirmation. I added that to my dts file and the > driver did try to probe the device. But accessing the device timed > out. There are some microcode patches related to I2C that I've not > applied. I'll try the patch(es) later. But how can I find out which > patch should be

Re: mpc870: hctosys.c unable to open rtc device rtc0

2010-08-09 Thread Shawn Jin
>> Reading the fsl i2c bindings in the documentation, I found an example >> as follows. >>   27      ...@860 { >>   28                compatible = "fsl,mpc823-i2c", >>   29                             "fsl,cpm1-i2c"; >>   30                reg = <0x860 0x20 0x3c80 0x30>; >>   31                inte

Re: mpc870: hctosys.c unable to open rtc device rtc0

2010-08-09 Thread Scott Wood
On Sun, 8 Aug 2010 23:37:00 -0700 Shawn Jin wrote: > Reading the fsl i2c bindings in the documentation, I found an example > as follows. > 27 i...@860 { > 28compatible = "fsl,mpc823-i2c", > 29 "fsl,cpm1-i2c"; > 30reg = <0x86

mpc870: hctosys.c unable to open rtc device rtc0

2010-08-08 Thread Shawn Jin
A DS1339 RTC is connected to the I2C bus (i2c-cpm in mpc870). The dmesg below shows that the ds1037 driver was registered. But the hctosys.c was not able to open the rtc device rtc0. The rtc doesn't seem to be connected with I2C driver properly. i2c-core: driver [rtc-ds1307] registered i2c /dev en