From mboxrd@z Thu Jan 1 00:00:00 1970 From: Santosh Shilimkar Subject: RE: [pm-core][PATCH v3 01/21] OMAP4: PM: Add omap WakeupGen module support Date: Tue, 29 Mar 2011 11:19:07 +0530 Message-ID: <23458e94275de1759652817c138f6966@mail.gmail.com> References: <1301304157-2466-1-git-send-email-santosh.shilimkar@ti.com> <1301304157-2466-2-git-send-email-santosh.shilimkar@ti.com> <20110328205027.GC30616@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from na3sys009aog104.obsmtp.com ([74.125.149.73]:39528 "EHLO na3sys009aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753125Ab1C2GNp (ORCPT ); Tue, 29 Mar 2011 02:13:45 -0400 Received: by mail-gx0-f173.google.com with SMTP id 26so1742284gxk.18 for ; Mon, 28 Mar 2011 23:13:44 -0700 (PDT) In-Reply-To: <20110328205027.GC30616@atomide.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tony Lindgren Cc: linux-omap@vger.kernel.org, Kevin Hilman , Rajendra Nayak , linux-arm-kernel@lists.infradead.org > -----Original Message----- > From: Tony Lindgren [mailto:tony@atomide.com] > Sent: Tuesday, March 29, 2011 2:20 AM > To: Santosh Shilimkar > Cc: linux-omap@vger.kernel.org; khilman@ti.com; rnayak@ti.com; > linux-arm-kernel@lists.infradead.org > Subject: Re: [pm-core][PATCH v3 01/21] OMAP4: PM: Add omap WakeupGen > module support > > * Santosh Shilimkar [110328 02:20]: > > --- a/arch/arm/mach-omap2/omap4-common.c > > +++ b/arch/arm/mach-omap2/omap4-common.c > > @@ -21,6 +21,7 @@ > > > > #include > > #include > > +#include > > > > #ifdef CONFIG_CACHE_L2X0 > > void __iomem *l2cache_base; > > @@ -41,6 +42,8 @@ void __init gic_init_irq(void) > > gic_cpu_base = ioremap(OMAP44XX_GIC_CPU_BASE, SZ_512); > > BUG_ON(!gic_cpu_base); > > > > + omap_wakeupgen_init(); > > + > > gic_init(0, 29, gic_dist_base_addr, gic_cpu_base); > > } > > Do you really need to initialize all of this that early? > Yes. It's a interrupt controller extension and needs to work together with GIC.