Tony, Santosh,
[...]
+void __init omap2_dm_timer_early_init(void)
+{
+ int ret = omap_hwmod_for_each_by_class(timer,
+ omap_timer_init, NULL);
Here we really only want to initialize the system timer. The
rest we
want to do later, so let's
* DebBarma, Tarun Kanti tarun.ka...@ti.com [110307 04:52]:
I agree with Tony. We can still registers only the system
timer because the timer ID is known well before we do
initialization.
I must say, there was a gap in my understanding of the comment.
So, here is the implementation
-Original Message-
From: Tony Lindgren [mailto:t...@atomide.com]
Sent: Tuesday, March 08, 2011 5:37 AM
To: DebBarma, Tarun Kanti
Cc: Shilimkar, Santosh; linux-omap@vger.kernel.org
Subject: Re: [PATCH v11 6/8] dmtimer: switch-over to platform device
driver
* DebBarma, Tarun Kanti
* Tarun Kanti DebBarma tarun.ka...@ti.com [110224 03:23]:
--- a/arch/arm/mach-omap2/dmtimer.c
+++ b/arch/arm/mach-omap2/dmtimer.c
@@ -197,3 +197,64 @@ static int __init omap_timer_init(struct omap_hwmod *oh,
void *unused)
return ret;
}
+
+/**
+ * omap2_dm_timer_early_init - top
-Original Message-
From: Tony Lindgren [mailto:t...@atomide.com]
Sent: Friday, March 04, 2011 10:53 PM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v11 6/8] dmtimer: switch-over to platform device
driver
* Tarun Kanti DebBarma tarun.ka...@ti.com
* DebBarma, Tarun Kanti tarun.ka...@ti.com [110304 10:50]:
-Original Message-
From: Tony Lindgren [mailto:t...@atomide.com]
Sent: Friday, March 04, 2011 10:53 PM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v11 6/8] dmtimer: switch-over
-Original Message-
From: Tony Lindgren [mailto:t...@atomide.com]
Sent: Saturday, March 05, 2011 1:07 AM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v11 6/8] dmtimer: switch-over to platform device
driver
* DebBarma, Tarun Kanti tarun.ka...@ti.com
-Original Message-
From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-
ow...@vger.kernel.org] On Behalf Of Tony Lindgren
Sent: Saturday, March 05, 2011 1:07 AM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v11 6/8] dmtimer: switch-over
Tarun Kanti DebBarma tarun.ka...@ti.com writes:
switch-over to platform device driver through following changes:
(a) initiate dmtimer early initialization from omap2_gp_timer_init()
in timer-gp.c. This is equivalent of timer_init()-timer-init().
(b) modify plat-omap/dmtimer routines to use
-Original Message-
From: Hilman, Kevin
Sent: Friday, March 04, 2011 6:56 AM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v11 6/8] dmtimer: switch-over to platform device
driver
Tarun Kanti DebBarma tarun.ka...@ti.com writes:
switch-over
10 matches
Mail list logo