[i2c] RTC + DS1337

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, there's a new driver in the -mm tree for use with the new RTC core. 
It's based on the original ds1337/9 driver and now also supports ds1307. 
It was added in the 2.6.17-rc1 timeframe. Look for drivers/rtc/rtc-ds1307.c.

Ben Dooks wrote:
> On Thu, Jun 29, 2006 at 09:06:54AM +0200, Matthieu TORRES wrote:
> 
>>Hi,
>>
>>I faced a problem with DS1337 RTC.  I use a pxa255 cpu with 2.6.16 
>>kernel. I tried to make a DS1339 chip (real time clock) working with 
>>hwclock.
>>In my config, I selected I2C, DS1337/DS1339 driver, and ehanced RTC 
>>support to have it working with /dev/rtc as expected by hwclock. That is 
>>to say the following options:
>>
>>CONFIG_RTC=y
>>CONFIG_I2C=y
>>CONFIG_I2C_PXA=y
>>CONFIG_SENSORS_DS1337=y
>>
>>The ioctl() to dev/rtc did not work. While investaigating on that issue, 
>>I found 2 problems :
> 
> 
> Look at 2.6.17, which has a new RTC core, and sysfs based interface
> which is much cleaner way of dealing with the RTC systems on the many
> different systems that there are.
> 




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux