From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH v15 06/12] OMAP: dmtimer: switch-over to platform device driver Date: Thu, 15 Sep 2011 10:05:48 -0700 Message-ID: <20110915170548.GB2284@atomide.com> References: <1315516098-29761-1-git-send-email-tarun.kanti@ti.com> <1315516098-29761-7-git-send-email-tarun.kanti@ti.com> <20110914214533.GA30941@atomide.com> <20110915165810.GA2284@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:20846 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934209Ab1IORFx (ORCPT ); Thu, 15 Sep 2011 13:05:53 -0400 Content-Disposition: inline In-Reply-To: <20110915165810.GA2284@atomide.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Mohammed, Afzal" Cc: "DebBarma, Tarun Kanti" , "linux-omap@vger.kernel.org" , "Hilman, Kevin" , "linux-arm-kernel@lists.infradead.org" , "Nori, Sekhar" , "Hiremath, Vaibhav" , "Pedanekar, Hemant" * Tony Lindgren [110915 09:24]: > * Mohammed, Afzal [110915 01:13]: > > > > We need clocksource & clockevent to be able to work with > > timers requiring addition of offsets. Without this AM335X, > > TI816X and TI814X SoC's will not boot. > > OK. Then how about let's do the following things: > > 1. Modify the inline access functions to take the PEND and others > if needed registers as a parameter > > 2. Modify mach-omap2/timer.c to initialize the PEND and others > in the SoC specific timer_init function Also, let's do these changes first then rebase the dmtimer series on those changes as it simplifies the dmtimer series a bit. Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Thu, 15 Sep 2011 10:05:48 -0700 Subject: [PATCH v15 06/12] OMAP: dmtimer: switch-over to platform device driver In-Reply-To: <20110915165810.GA2284@atomide.com> References: <1315516098-29761-1-git-send-email-tarun.kanti@ti.com> <1315516098-29761-7-git-send-email-tarun.kanti@ti.com> <20110914214533.GA30941@atomide.com> <20110915165810.GA2284@atomide.com> Message-ID: <20110915170548.GB2284@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Tony Lindgren [110915 09:24]: > * Mohammed, Afzal [110915 01:13]: > > > > We need clocksource & clockevent to be able to work with > > timers requiring addition of offsets. Without this AM335X, > > TI816X and TI814X SoC's will not boot. > > OK. Then how about let's do the following things: > > 1. Modify the inline access functions to take the PEND and others > if needed registers as a parameter > > 2. Modify mach-omap2/timer.c to initialize the PEND and others > in the SoC specific timer_init function Also, let's do these changes first then rebase the dmtimer series on those changes as it simplifies the dmtimer series a bit. Regards, Tony