]> git.karo-electronics.de Git - linux-beck.git/commit
rtc: rtc-s3c: Updates driver for S3C64XX and newer SoCs
authorAtul Dahiya <atul.dahiya@samsung.com>
Tue, 20 Jul 2010 10:32:51 +0000 (16:02 +0530)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 5 Aug 2010 09:32:51 +0000 (18:32 +0900)
commit2f3478f6579b3f8d4579b6d49d7a8e9376c48fc2
tree7b5381077dc615e0a3b6cc180ce3c4a30c76a9b8
parent002d31e6b623d08d707c7ba490f4ae0099285e9e
rtc: rtc-s3c: Updates driver for S3C64XX and newer SoCs

This Patch does followings.
1) Enables support for alarm and time tick pending register
   for periodic interrupt generation.
2) Changes writeb to writew beacuse the macro S3C64XX_RTCCON_TICEN
   (Tick Timer Enable) is 9th bit of register.
3) Changes writeb to writel as max_user_freq used in s3c64xx is 32768 and
   requires 15 bits to update the Tick Count Register.

Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com>
Signed-off-by: Taekgyun Ko <taeggyun.ko@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
drivers/rtc/rtc-s3c.c