From patchwork Thu Sep 8 04:05:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 3972 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7AD2223EF7 for ; Thu, 8 Sep 2011 04:08:48 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 661ADA1831E for ; Thu, 8 Sep 2011 04:08:48 +0000 (UTC) Received: by fxd18 with SMTP id 18so1738653fxd.11 for ; Wed, 07 Sep 2011 21:08:48 -0700 (PDT) Received: by 10.223.22.14 with SMTP id l14mr363680fab.100.1315454927233; Wed, 07 Sep 2011 21:08:47 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.11.8 with SMTP id m8cs161256lab; Wed, 7 Sep 2011 21:08:46 -0700 (PDT) Received: by 10.68.121.48 with SMTP id lh16mr115975pbb.259.1315454924760; Wed, 07 Sep 2011 21:08:44 -0700 (PDT) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx.google.com with ESMTPS id t18si2306174wfn.72.2011.09.07.21.08.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 21:08:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.210.45; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pzk33 with SMTP id 33so632438pzk.32 for ; Wed, 07 Sep 2011 21:08:42 -0700 (PDT) Received: by 10.68.26.7 with SMTP id h7mr407556pbg.84.1315454922741; Wed, 07 Sep 2011 21:08:42 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id u2sm9559132pbq.9.2011.09.07.21.08.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 21:08:41 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, linaro-dev@lists.linaro.org, patches@linaro.org Subject: [RESEND PATCH] ARM: EXYNOS4: Add machine support for 7" LCD on ORIGEN Date: Thu, 8 Sep 2011 09:35:11 +0530 Message-Id: <1315454711-17821-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 ORIGEN board is fitted with 7" LCD panel HV070WSA. The pixel resolution of the LCD panel is 1024x600. Signed-off-by: Tushar Behera --- The original patch-mail bounced back from linux-samsung-soc@vger.kernel.org, hence resending the patch again. The patch is rebased on [1]. For proper working of LCD on ORIGEN, following patches are needed. These patches are already submitted to the mailing list. a. ARM: EXYNOS4: Add PWM backlight support on Origen Author: Giridhar Maruthy b. ARM: EXYNOS4: Configure MAX8997 PMIC for Origen Author: Inderpal Singh [1] git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git arch/arm/mach-exynos4/Kconfig | 2 + arch/arm/mach-exynos4/mach-origen.c | 50 +++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig index 48f18f7..8656f49 100644 --- a/arch/arm/mach-exynos4/Kconfig +++ b/arch/arm/mach-exynos4/Kconfig @@ -222,6 +222,8 @@ config MACH_ORIGEN select S3C_DEV_RTC select S3C_DEV_WDT select S3C_DEV_HSMMC2 + select S5P_DEV_FIMD0 + select EXYNOS4_SETUP_FIMD0 select EXYNOS4_SETUP_SDHCI help Machine support for ORIGEN based on Samsung EXYNOS4210 diff --git a/arch/arm/mach-exynos4/mach-origen.c b/arch/arm/mach-exynos4/mach-origen.c index ed59f86..f2cea78 100644 --- a/arch/arm/mach-exynos4/mach-origen.c +++ b/arch/arm/mach-exynos4/mach-origen.c @@ -14,16 +14,21 @@ #include #include #include +#include + +#include