]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S5PC100: Add RTC support for S5PC100
authorAtul Dahiya <atul.dahiya@samsung.com>
Wed, 21 Jul 2010 08:38:23 +0000 (17:38 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 5 Aug 2010 09:30:51 +0000 (18:30 +0900)
This patch adds support RTC driver for Samsung S5PC100.

Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pc100/Kconfig
arch/arm/mach-s5pc100/include/mach/map.h
arch/arm/mach-s5pc100/mach-smdkc100.c

index cd7f4e95d230b04a3ad0af232dd9837fb66e71e5..25ca7c686e77afdc7cac140d6ccb9a241d984e90 100644 (file)
@@ -57,6 +57,7 @@ config MACH_SMDKC100
        select S3C_DEV_HSMMC1
        select S3C_DEV_HSMMC2
        select SAMSUNG_DEV_KEYPAD
+       select S3C_DEV_RTC
        select SAMSUNG_DEV_TS
        select S3C_DEV_WDT
        select HAVE_S3C2410_WATCHDOG
@@ -65,6 +66,7 @@ config MACH_SMDKC100
        select S5PC100_SETUP_IDE
        select S5PC100_SETUP_KEYPAD
        select S5PC100_SETUP_SDHCI
+       select HAVE_S3C_RTC
        help
          Machine support for the Samsung SMDKC100
 
index 809ff90824cfe97e7741885c255e69ba80a4a019..c018697e79bff4a30c6fa295ce25b7d53b0035b8 100644 (file)
@@ -75,6 +75,7 @@
 #define S5PC100_PA_SYSTIMER    (0xEA100000)
 
 #define S5PC100_PA_WATCHDOG    (0xEA200000)
+#define S5PC100_PA_RTC         (0xEA300000)
 
 #define S5PC100_PA_UART                (0xEC000000)
 
 #define S3C_PA_ONENAND         S5PC100_PA_ONENAND
 #define S3C_PA_ONENAND_BUF     S5PC100_PA_ONENAND_BUF
 #define S3C_SZ_ONENAND_BUF     S5PC100_SZ_ONENAND_BUF
+#define S3C_PA_RTC             S5PC100_PA_RTC
 
 #define SAMSUNG_PA_ADC         S5PC100_PA_TSADC
 #define SAMSUNG_PA_CFCON       S5PC100_PA_CFCON
index a00dd090f1a1ac57464afc0d11f9d12bc67f532d..83a5d648a98058a2853368839b3b8a18939d4a15 100644 (file)
@@ -192,6 +192,7 @@ static struct platform_device *smdkc100_devices[] __initdata = {
        &s5pc100_device_iis0,
        &samsung_device_keypad,
        &s5pc100_device_ac97,
+       &s3c_device_rtc,
 };
 
 static struct s3c2410_ts_mach_info s3c_ts_platform __initdata = {