[rtc-linux] Re: DS1337 RTC on I2C broken.

Bartlomiej Sieka tur at semihalf.com
Tue Dec 4 03:07:54 EST 2007


Clemens Koller wrote:
> Hi, Alessandro, Hi, Olof!
> 
> Olof Johansson wrote:
>  > ds1307 requires you to register i2c_board_info for it to probe properly.
>  > Does your platform do so?
> 
> I started to add some pr_debug()s. It seems that rtc-ds1307's ds1307_init()
> is just never called despite the module gets loaded.

Hello Clemens,

Do you have rtc node in your dts file (I'm assuming arch/powerpc
situation)? If not, you'll have to add it - for example similarly to
what's being done in the attached patch (68 is the I2C address of the
RTC chip - a DS1339 in my case).

HTH,
Bartlomiej Sieka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: motionpro_i2c_rtc_dts.diff
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20071203/0b3e70cf/attachment-0001.txt 


More information about the Linuxppc-embedded mailing list