From mboxrd@z Thu Jan 1 00:00:00 1970 From: J.Weitzel@phytec.de (Jan Weitzel) Date: Wed, 13 Jul 2011 12:58:58 +0200 Subject: [PATCH v2] ARM:OMAP4 add Phytec phyCORE-OMAP4 board In-Reply-To: <20110713080330.GJ5783@atomide.com> References: <20110708115521.GA5783@atomide.com> <1310127671-17850-1-git-send-email-j.weitzel@phytec.de> <20110713080330.GJ5783@atomide.com> Message-ID: <1310554738.18446.12.camel@lws-weitzel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Am Mittwoch, den 13.07.2011, 01:03 -0700 schrieb Tony Lindgren: > * Jan Weitzel [110708 05:16]: > > This adds support for the Phytec OMAP4430 board called phyCORE-OMAP4 PCM049. > > I've updated this for the TWL cleanup, that left out about 150 LOC. > Will apply to board-part-2 branch. > > Jan, can you please check? works fine for me. I see vusim is not used in our board. I will send a patch to remove it also. Jan > Regards, > > Tony > > > From: Jan Weitzel > Date: Wed, 13 Jul 2011 00:58:26 -0700 > Subject: [PATCH] ARM:OMAP4 add Phytec phyCORE-OMAP4 board > > This adds support for the Phytec OMAP4430 board called phyCORE-OMAP4 PCM049. > > Signed-off-by: Jan Weitzel > [tony at atomide.com: updated for timer and twl cleanup, and to select the board by default] > Signed-off-by: Tony Lindgren > > diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig > index 6b88799..d5e4b60 100644 > --- a/arch/arm/mach-omap2/Kconfig > +++ b/arch/arm/mach-omap2/Kconfig > @@ -333,6 +333,12 @@ config MACH_OMAP4_PANDA > select OMAP_PACKAGE_CBS > select REGULATOR_FIXED_VOLTAGE > > +config MACH_PCM049 > + bool "OMAP4 based phyCORE OMAP4" > + depends on ARCH_OMAP4 > + default y > + select OMAP_PACKAGE_CBS > + > config OMAP3_EMU > bool "OMAP3 debugging peripherals" > depends on ARCH_OMAP3 > diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile > index 2d4d18e..7494b04 100644 > --- a/arch/arm/mach-omap2/Makefile > +++ b/arch/arm/mach-omap2/Makefile > @@ -240,6 +240,10 @@ obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \ > hsmmc.o \ > omap_phy_internal.o > > +obj-$(CONFIG_MACH_PCM049) += board-omap4pcm049.o \ > + hsmmc.o \ > + omap_phy_internal.o > + > obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o \ > omap_phy_internal.o \ > > diff --git a/arch/arm/mach-omap2/board-omap4pcm049.c b/arch/arm/mach-omap2/board-omap4pcm049.c > new file mode 100644 > index 0000000..ad8cb46 > --- /dev/null > +++ b/arch/arm/mach-omap2/board-omap4pcm049.c > @@ -0,0 +1,602 @@ > +/* > + * Board support file for Phytec phyCORE-OMAP4 Board. > + * > + * Copyright (C) 2011 Phytec Messtechnik GmbH > + * > + * Author: Jan Weitzel > + * > + * Based on mach-omap2/board-omap4panda.c > + * > + * Author: David Anders > + * > + * Author: Santosh Shilimkar > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include > +#include