From 06d7e418110b14a2cb2ddd47db9bf34b5154d0ed Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Wed, 9 Jan 2013 18:47:04 -0800 Subject: [PATCH] --- yaml --- r: 372223 b: refs/heads/master c: 04a49b710d436ac977d3db41ae8ad23fe800a30b h: refs/heads/master i: 372221: ac082cac2c2e59e821bbdeb41f72ab6b0e629847 372219: b8f09ea336fd989e8873c09d230c185cb96d2ba1 372215: 8319a066e620f28a8ea9d23dd7d2a1326162110f 372207: 4990d1c8c36b9d4b85f4ff1e79f72ab160052923 372191: 59ac23ae4ec682927582b733b17ef8b3b4ab414f 372159: e2c2b4482bcb6913f5574efbce1e7e7f6469745d 372095: add6ba461db02f8d1c0cfa588aeefcded37d7e8a 371967: f51e2ca22c0d36cffa6a40af1402c4e3962093ad 371711: b6d643fb3cbf88f2a24ea5ff0dec012c7c6939a6 v: v3 --- [refs] | 2 +- trunk/arch/arm/Kconfig | 3 ++- trunk/arch/arm/mach-s3c64xx/Kconfig | 2 ++ trunk/arch/arm/mach-s3c64xx/mach-anw6410.c | 4 +++- trunk/arch/arm/mach-s3c64xx/mach-crag6410.c | 4 +++- trunk/arch/arm/mach-s3c64xx/mach-hmt.c | 4 +++- trunk/arch/arm/mach-s3c64xx/mach-mini6410.c | 4 +++- trunk/arch/arm/mach-s3c64xx/mach-ncp.c | 4 +++- trunk/arch/arm/mach-s3c64xx/mach-real6410.c | 4 +++- trunk/arch/arm/mach-s3c64xx/mach-smartq.c | 2 ++ trunk/arch/arm/mach-s3c64xx/mach-smartq5.c | 3 ++- trunk/arch/arm/mach-s3c64xx/mach-smartq7.c | 3 ++- trunk/arch/arm/mach-s3c64xx/mach-smdk6400.c | 4 +++- trunk/arch/arm/mach-s3c64xx/mach-smdk6410.c | 4 +++- 14 files changed, 35 insertions(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 3a67780c6a1e..4b9fdbc74c60 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7f78b6eb5f51731fd7d6e272b5adc1d030f0791f +refs/heads/master: 04a49b710d436ac977d3db41ae8ad23fe800a30b diff --git a/trunk/arch/arm/Kconfig b/trunk/arch/arm/Kconfig index 967bcd31eb3b..61ddd4f45ba1 100644 --- a/trunk/arch/arm/Kconfig +++ b/trunk/arch/arm/Kconfig @@ -790,10 +790,11 @@ config ARCH_S3C64XX bool "Samsung S3C64XX" select ARCH_HAS_CPUFREQ select ARCH_REQUIRE_GPIOLIB - select ARCH_USES_GETTIMEOFFSET select ARM_VIC select CLKDEV_LOOKUP + select CLKSRC_MMIO select CPU_V6 + select GENERIC_CLOCKEVENTS select HAVE_CLK select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG diff --git a/trunk/arch/arm/mach-s3c64xx/Kconfig b/trunk/arch/arm/mach-s3c64xx/Kconfig index 131c86284711..283cb77d4721 100644 --- a/trunk/arch/arm/mach-s3c64xx/Kconfig +++ b/trunk/arch/arm/mach-s3c64xx/Kconfig @@ -17,11 +17,13 @@ config PLAT_S3C64XX # Configuration options for the S3C6410 CPU config CPU_S3C6400 + select SAMSUNG_HRT bool help Enable S3C6400 CPU support config CPU_S3C6410 + select SAMSUNG_HRT bool help Enable S3C6410 CPU support diff --git a/trunk/arch/arm/mach-s3c64xx/mach-anw6410.c b/trunk/arch/arm/mach-s3c64xx/mach-anw6410.c index 728eef3296b2..35e3f54574ef 100644 --- a/trunk/arch/arm/mach-s3c64xx/mach-anw6410.c +++ b/trunk/arch/arm/mach-s3c64xx/mach-anw6410.c @@ -49,6 +49,7 @@ #include #include #include +#include #include "common.h" #include "regs-modem.h" @@ -208,6 +209,7 @@ static void __init anw6410_map_io(void) s3c64xx_init_io(anw6410_iodesc, ARRAY_SIZE(anw6410_iodesc)); s3c24xx_init_clocks(12000000); s3c24xx_init_uarts(anw6410_uartcfgs, ARRAY_SIZE(anw6410_uartcfgs)); + samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); anw6410_lcd_mode_set(); } @@ -232,6 +234,6 @@ MACHINE_START(ANW6410, "A&W6410") .map_io = anw6410_map_io, .init_machine = anw6410_machine_init, .init_late = s3c64xx_init_late, - .init_time = s3c24xx_timer_init, + .init_time = samsung_timer_init, .restart = s3c64xx_restart, MACHINE_END diff --git a/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c b/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c index 1acf02bace57..8ad88ace795a 100644 --- a/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c @@ -64,6 +64,7 @@ #include #include #include +#include #include "common.h" #include "crag6410.h" @@ -744,6 +745,7 @@ static void __init crag6410_map_io(void) s3c64xx_init_io(NULL, 0); s3c24xx_init_clocks(12000000); s3c24xx_init_uarts(crag6410_uartcfgs, ARRAY_SIZE(crag6410_uartcfgs)); + samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); /* LCD type and Bypass set by bootloader */ } @@ -868,6 +870,6 @@ MACHINE_START(WLF_CRAGG_6410, "Wolfson Cragganmore 6410") .map_io = crag6410_map_io, .init_machine = crag6410_machine_init, .init_late = s3c64xx_init_late, - .init_time = s3c24xx_timer_init, + .init_time = samsung_timer_init, .restart = s3c64xx_restart, MACHINE_END diff --git a/trunk/arch/arm/mach-s3c64xx/mach-hmt.c b/trunk/arch/arm/mach-s3c64xx/mach-hmt.c index 7212eb9cfeb9..5b7f357d8c22 100644 --- a/trunk/arch/arm/mach-s3c64xx/mach-hmt.c +++ b/trunk/arch/arm/mach-s3c64xx/mach-hmt.c @@ -41,6 +41,7 @@ #include #include #include +#include #include "common.h" @@ -248,6 +249,7 @@ static void __init hmt_map_io(void) s3c64xx_init_io(hmt_iodesc, ARRAY_SIZE(hmt_iodesc)); s3c24xx_init_clocks(12000000); s3c24xx_init_uarts(hmt_uartcfgs, ARRAY_SIZE(hmt_uartcfgs)); + samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); } static void __init hmt_machine_init(void) @@ -275,6 +277,6 @@ MACHINE_START(HMT, "Airgoo-HMT") .map_io = hmt_map_io, .init_machine = hmt_machine_init, .init_late = s3c64xx_init_late, - .init_time = s3c24xx_timer_init, + .init_time = samsung_timer_init, .restart = s3c64xx_restart, MACHINE_END diff --git a/trunk/arch/arm/mach-s3c64xx/mach-mini6410.c b/trunk/arch/arm/mach-s3c64xx/mach-mini6410.c index 4b41fcdaa7b6..fc043e3ecdf8 100644 --- a/trunk/arch/arm/mach-s3c64xx/mach-mini6410.c +++ b/trunk/arch/arm/mach-s3c64xx/mach-mini6410.c @@ -41,6 +41,7 @@ #include