RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-07 Thread DebBarma, Tarun Kanti
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

Re: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-07 Thread Tony Lindgren
* 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

RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-07 Thread DebBarma, Tarun Kanti
-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

Re: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-04 Thread Tony Lindgren
* 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

RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-04 Thread DebBarma, Tarun Kanti
-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

Re: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-04 Thread Tony Lindgren
* 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

RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-04 Thread DebBarma, Tarun Kanti
-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

RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-04 Thread Santosh Shilimkar
-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

Re: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-03 Thread Kevin Hilman
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

RE: [PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-03-03 Thread DebBarma, Tarun Kanti
-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