From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751481Ab3KLFm7 (ORCPT ); Tue, 12 Nov 2013 00:42:59 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:46685 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750944Ab3KLFmw (ORCPT ); Tue, 12 Nov 2013 00:42:52 -0500 Message-ID: <5281BF70.4050708@ti.com> Date: Tue, 12 Nov 2013 11:11:04 +0530 From: Rajendra Nayak User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: Sricharan R CC: , , , , , , , , , , , , , , Subject: Re: [PATCH V3 7/7] ARM: DRA: Enable Crossbar IP support for DRA7XX References: <1383657257-3458-1-git-send-email-r.sricharan@ti.com> <1383657257-3458-8-git-send-email-r.sricharan@ti.com> In-Reply-To: <1383657257-3458-8-git-send-email-r.sricharan@ti.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 05 November 2013 06:44 PM, Sricharan R wrote: > Enable the crossbar IP support for DRA7xx soc. > > Cc: Santosh Shilimkar > Cc: Rajendra Nayak > Cc: Tony Lindgren > Signed-off-by: Sricharan R > --- > arch/arm/mach-omap2/Kconfig | 1 + > arch/arm/mach-omap2/omap4-common.c | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig > index b5fb5f7..2086c65 100644 > --- a/arch/arm/mach-omap2/Kconfig > +++ b/arch/arm/mach-omap2/Kconfig > @@ -141,6 +141,7 @@ config SOC_DRA7XX > select ARM_GIC > select HAVE_SMP > select COMMON_CLK > + select IRQ_CROSSBAR > > comment "OMAP Core Type" > depends on ARCH_OMAP2 > diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c > index 5791143..274cbfa 100644 > --- a/arch/arm/mach-omap2/omap4-common.c > +++ b/arch/arm/mach-omap2/omap4-common.c > @@ -22,6 +22,7 @@ > #include > #include > #include > +#include > #include > #include > > @@ -282,9 +283,12 @@ void __init omap_gic_of_init(void) > > skip_errata_init: > omap_wakeupgen_init(); > + if (soc_is_dra7xx()) > + crossbar_init(); Its good if this is called irqcrossbar_init() to avoid confusion with the dma crossbar which also exists in dra7 devices. > irqchip_init(); > } > > + > #if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE) > static int omap4_twl6030_hsmmc_late_init(struct device *dev) > { >