Re: [rtc-linux] Re: DS1337 RTC on I2C broken.
From: Bartlomiej Sieka <hidden>
Date: 2007-12-03 16:27:55
Attachments
- motionpro_i2c_rtc_dts.diff [text/plain] 603 bytes · preview
From: Bartlomiej Sieka <hidden>
Date: 2007-12-03 16:27:55
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