From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Dooks Subject: Re: [PATCH] ARM: S3C6410: Add basic support for SmartQ machines Date: Thu, 20 May 2010 14:32:50 +0100 Message-ID: <20100520133250.GQ4720@trinity.fluff.org> References: <4BF50276.2060804@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from trinity.fluff.org ([89.16.178.74]:50186 "EHLO trinity.fluff.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754376Ab0ETNdE (ORCPT ); Thu, 20 May 2010 09:33:04 -0400 Content-Disposition: inline In-Reply-To: <4BF50276.2060804@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Maurus Cuelenaere Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ben-linux@fluff.org On Thu, May 20, 2010 at 11:35:50AM +0200, Maurus Cuelenaere wrote: > This adds new machine definitions for the SmartQ 5 and 7. ok, merged. > Signed-off-by: Maurus Cuelenaere > --- > arch/arm/mach-s3c64xx/Kconfig | 31 +++ > arch/arm/mach-s3c64xx/Makefile | 3 + > arch/arm/mach-s3c64xx/mach-smartq.c | 363 ++++++++++++++++++++++++++++++++++ > arch/arm/mach-s3c64xx/mach-smartq.h | 20 ++ > arch/arm/mach-s3c64xx/mach-smartq5.c | 185 +++++++++++++++++ > arch/arm/mach-s3c64xx/mach-smartq7.c | 201 +++++++++++++++++++ > 6 files changed, 803 insertions(+), 0 deletions(-) > create mode 100644 arch/arm/mach-s3c64xx/mach-smartq.c > create mode 100644 arch/arm/mach-s3c64xx/mach-smartq.h > create mode 100644 arch/arm/mach-s3c64xx/mach-smartq5.c > create mode 100644 arch/arm/mach-s3c64xx/mach-smartq7.c > > diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig > index 69e9fbf..ad32cf4 100644 > --- a/arch/arm/mach-s3c64xx/Kconfig > +++ b/arch/arm/mach-s3c64xx/Kconfig > @@ -179,3 +179,34 @@ config MACH_HMT > select HAVE_PWM > help > Machine support for the Airgoo HMT > + > +config MACH_SMARTQ > + bool > + select CPU_S3C6410 > + select S3C_DEV_HSMMC > + select S3C_DEV_HSMMC1 > + select S3C_DEV_HSMMC2 > + select S3C_DEV_FB > + select S3C_DEV_HWMON > + select S3C_DEV_RTC > + select S3C_DEV_USB_HSOTG > + select S3C_DEV_USB_HOST > + select S3C64XX_SETUP_SDHCI > + select S3C64XX_SETUP_FB_24BPP > + select SAMSUNG_DEV_ADC > + select SAMSUNG_DEV_TS > + select HAVE_PWM > + help > + Shared machine support for SmartQ 5/7 > + > +config MACH_SMARTQ5 > + bool "SmartQ 5" > + select MACH_SMARTQ > + help > + Machine support for the SmartQ 5 > + > +config MACH_SMARTQ7 > + bool "SmartQ 7" > + select MACH_SMARTQ > + help > + Machine support for the SmartQ 7 > diff --git a/arch/arm/mach-s3c64xx/Makefile b/arch/arm/mach-s3c64xx/Makefile > index a10f1fc..39ef55e 100644 > --- a/arch/arm/mach-s3c64xx/Makefile > +++ b/arch/arm/mach-s3c64xx/Makefile > @@ -52,6 +52,9 @@ obj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o > obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o > obj-$(CONFIG_MACH_NCP) += mach-ncp.o > obj-$(CONFIG_MACH_HMT) += mach-hmt.o > +obj-$(CONFIG_MACH_SMARTQ) += mach-smartq.o > +obj-$(CONFIG_MACH_SMARTQ5) += mach-smartq5.o > +obj-$(CONFIG_MACH_SMARTQ7) += mach-smartq7.o > > # device support > > diff --git a/arch/arm/mach-s3c64xx/mach-smartq.c b/arch/arm/mach-s3c64xx/mach-smartq.c > new file mode 100644 > index 0000000..028d080 > --- /dev/null > +++ b/arch/arm/mach-s3c64xx/mach-smartq.c > @@ -0,0 +1,363 @@ > +/* > + * linux/arch/arm/mach-s3c64xx/mach-smartq.c > + * > + * Copyright (C) 2010 Maurus Cuelenaere > + * > + * 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 > +#include > +#include > +#include > + > +#include