public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: exynos4: Add TWD base address
@ 2011-07-27  4:24 Kyungmin Park
  2011-08-12  9:47 ` Kukjin Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2011-07-27  4:24 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kyungmin Park <kyungmin.park@samsung.com>

When use the s5p_timer for EXYNOS4210 EVT0, it's required.
Other s5p platform is guided from CONFIG_LOCAL_TIMER

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/arch/arm/plat-s5p/s5p-time.c b/arch/arm/plat-s5p/s5p-time.c
index c833e7b..bdf5430 100644
--- a/arch/arm/plat-s5p/s5p-time.c
+++ b/arch/arm/plat-s5p/s5p-time.c
@@ -409,6 +409,9 @@ static void __init s5p_timer_resources(void)
 
 static void __init s5p_timer_init(void)
 {
+#ifdef CONFIG_LOCAL_TIMERS
+	twd_base = S5P_VA_TWD;
+#endif
 	s5p_timer_resources();
 	s5p_clockevent_init();
 	s5p_clocksource_init();

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: exynos4: Add TWD base address
  2011-07-27  4:24 [PATCH] ARM: exynos4: Add TWD base address Kyungmin Park
@ 2011-08-12  9:47 ` Kukjin Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2011-08-12  9:47 UTC (permalink / raw)
  To: linux-arm-kernel

Kyungmin Park wrote:
> 
> From: Kyungmin Park <kyungmin.park@samsung.com>
> 
> When use the s5p_timer for EXYNOS4210 EVT0, it's required.
> Other s5p platform is guided from CONFIG_LOCAL_TIMER
> 
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> diff --git a/arch/arm/plat-s5p/s5p-time.c b/arch/arm/plat-s5p/s5p-time.c
> index c833e7b..bdf5430 100644
> --- a/arch/arm/plat-s5p/s5p-time.c
> +++ b/arch/arm/plat-s5p/s5p-time.c
> @@ -409,6 +409,9 @@ static void __init s5p_timer_resources(void)
> 
>  static void __init s5p_timer_init(void)
>  {
> +#ifdef CONFIG_LOCAL_TIMERS
> +	twd_base = S5P_VA_TWD;
> +#endif
>  	s5p_timer_resources();
>  	s5p_clockevent_init();
>  	s5p_clocksource_init();

As we talked about this at Linaro Connect, this is wrong. Basically
EXYNOS4210 uses MCT and the ARM_TWD cannot be used at one time on
EXYNOS4210.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-12  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27  4:24 [PATCH] ARM: exynos4: Add TWD base address Kyungmin Park
2011-08-12  9:47 ` Kukjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox