[RFC][PATCH v2 0/7] Add clkdev support for Samsung platforms

2011-05-27 Thread Thomas Abraham
This patch series adds clkdev support for all Samsung platforms. clkdev support is a prerequisite for adding device tree and common clock features on Samsung platforms. Changes since v1: 1. Removed the clock id field from clock instances. 2. Fixed incorrect naming of guards in mach/clkdev.h

[PATCH v2 1/7] ARM: SAMSUNG: Add clkdev infrastructure

2011-05-27 Thread Thomas Abraham
The struct clk definition for Samsung platforms is extended to include a instance of struct clk_lookup and a device name. When clocks are registered using s3c24xx_register_clock function, the dev_id, con_id and clk members are initialized with information from the struct clk instance and struct

[PATCH v2 2/7] ARM: S3C24XX: Add clkdev support

2011-05-27 Thread Thomas Abraham
Add clkdev support for Samsung's s3c24xx platforms. Signed-off-by: Thomas Abraham thomas...@samsung.com --- arch/arm/Kconfig|1 + arch/arm/mach-s3c2412/clock.c | 36 ++-- arch/arm/mach-s3c2416/clock.c | 10 +++---

[PATCH v2 4/7] ARM: S5P64X0: Add clkdev support

2011-05-27 Thread Thomas Abraham
Add clkdev support for Samsung's s5p64x0 platforms. Signed-off-by: Thomas Abraham thomas...@samsung.com --- arch/arm/Kconfig|1 + arch/arm/mach-s5p64x0/clock-s5p6440.c | 74 +++--- arch/arm/mach-s5p64x0/clock-s5p6450.c | 68

[PATCH v2 5/7] ARM: S5PC100: Add clkdev support

2011-05-27 Thread Thomas Abraham
Add clkdev support for Samsung's s5pc100 platforms. Signed-off-by: Thomas Abraham thomas...@samsung.com --- arch/arm/Kconfig|1 + arch/arm/mach-s5pc100/clock.c | 163 +++ arch/arm/mach-s5pc100/include/mach/clkdev.h |7 +

[PATCH v2 6/7] ARM: S5PV210: Add clkdev support

2011-05-27 Thread Thomas Abraham
Add clkdev support for Samsung's s5pv210 platform. Signed-off-by: Thomas Abraham thomas...@samsung.com --- arch/arm/Kconfig|1 + arch/arm/mach-s5pv210/clock.c | 130 -- arch/arm/mach-s5pv210/include/mach/clkdev.h |7 ++ 3

[PATCH v2 7/7] ARM: Exynos4: Add clkdev support

2011-05-27 Thread Thomas Abraham
Add clkdev support for Samsung's Exynos4 platform and fixes the incorrect clock name for the dw_mmc controller. Signed-off-by: Thomas Abraham thomas...@samsung.com --- arch/arm/Kconfig|1 + arch/arm/mach-exynos4/clock.c | 178

Re: [RFC][PATCH v2 0/7] Add clkdev support for Samsung platforms

2011-05-27 Thread Thomas Abraham
On Fri, May 27, 2011 at 8:56 PM, Thomas Abraham thomas...@samsung.com wrote: This patch series adds clkdev support for all Samsung platforms. clkdev support is a prerequisite for adding device tree and common clock features on Samsung platforms. This patch series is based on the latest

[PATCH] ARM: S5P: Fix bug on init of PWMTimers for HRTimer

2011-05-27 Thread Kukjin Kim
From: Sangbeom Kim sbki...@samsung.com This patch fixes following. 6[0.00] sched_clock: 32 bits at 33MHz, ... 6[ 128.651309] Calibrating delay loop... There is a big jump. The reason is that PWM Timer which is for HRTimer was used before its initialization. So this patch changes its

[PATCH 1/2] ARM: S5P: Cleanup s5p-time for HRTimer

2011-05-27 Thread Kukjin Kim
Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/plat-s5p/s5p-time.c | 217 ++ 1 files changed, 93 insertions(+), 124 deletions(-) diff --git a/arch/arm/plat-s5p/s5p-time.c b/arch/arm/plat-s5p/s5p-time.c index 1f94d4a..6b26d80 100644 ---

[PATCH 2/2] ARM: S5P: Add 64bit PWM timer counter for sched_clock

2011-05-27 Thread Kukjin Kim
From: Sangbeom Kim sbki...@samsung.com Basically, PWM timer works with 33Mhz on S5P SoCs and counter overflow every 128 secs. So it is needed 64-bit counter for supporting proper sched_clock() by 32-bit timer. This patch handle overflow control and can solve the problem of suspend to resume

Re: [PATCH v2 7/7] ARM: Exynos4: Add clkdev support

2011-05-27 Thread Kyungmin Park
On Sat, May 28, 2011 at 12:26 AM, Thomas Abraham thomas...@samsung.com wrote: Add clkdev support for Samsung's Exynos4 platform and fixes the incorrect clock name for the dw_mmc controller. Signed-off-by: Thomas Abraham thomas...@samsung.com ---  arch/arm/Kconfig                            |

[PATCH] ARM: SAMSUNG: serial: Fix on handling of one clock source for UART

2011-05-27 Thread Kukjin Kim
From: Boojin Kim boojin@samsung.com This patch fixes the way of comparison for handling of two or more clock sources for UART. For example, if just only one clock source is defined even though there are two clock sources for UART, the serial driver does not set proper clock up. Of course, it

Re: [PATCH v2 7/7] ARM: Exynos4: Add clkdev support

2011-05-27 Thread Kukjin Kim
On 05/27/11 18:53, Kyungmin Park wrote: On Sat, May 28, 2011 at 12:26 AM, Thomas Abrahamthomas...@samsung.com wrote: Add clkdev support for Samsung's Exynos4 platform and fixes the incorrect clock name for the dw_mmc controller. Signed-off-by: Thomas Abrahamthomas...@samsung.com ---

Re: [PATCH v2 7/7] ARM: Exynos4: Add clkdev support

2011-05-27 Thread Kyungmin Park
On Sat, May 28, 2011 at 11:14 AM, Kukjin Kim kgene@samsung.com wrote: On 05/27/11 18:53, Kyungmin Park wrote: On Sat, May 28, 2011 at 12:26 AM, Thomas Abrahamthomas...@samsung.com  wrote: Add clkdev support for Samsung's Exynos4 platform and fixes the incorrect clock name for the

Re: [PATCH v2 7/7] ARM: Exynos4: Add clkdev support

2011-05-27 Thread Thomas Abraham
On Sat, May 28, 2011 at 8:06 AM, Kyungmin Park kmp...@infradead.org wrote: On Sat, May 28, 2011 at 11:33 AM, Kyungmin Park kmp...@infradead.org wrote: On Sat, May 28, 2011 at 11:14 AM, Kukjin Kim kgene@samsung.com wrote: On 05/27/11 18:53, Kyungmin Park wrote: On Sat, May 28, 2011 at