From patchwork Wed Sep 14 11:01:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 4063 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 17C6223EF8 for ; Wed, 14 Sep 2011 11:05:43 +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 053E8A187EC for ; Wed, 14 Sep 2011 11:05:43 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id 23so2132093fxe.11 for ; Wed, 14 Sep 2011 04:05:42 -0700 (PDT) Received: by 10.223.74.89 with SMTP id t25mr2333045faj.65.1315998342850; Wed, 14 Sep 2011 04:05:42 -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 m8cs44600lab; Wed, 14 Sep 2011 04:05:42 -0700 (PDT) Received: by 10.68.52.227 with SMTP id w3mr6144526pbo.37.1315998340987; Wed, 14 Sep 2011 04:05:40 -0700 (PDT) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx.google.com with ESMTPS id v20si5066110wfe.85.2011.09.14.04.05.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 04:05:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.210.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pz0-f44.google.com with SMTP id 36so2823691pzk.31 for ; Wed, 14 Sep 2011 04:05:40 -0700 (PDT) Received: by 10.68.7.227 with SMTP id m3mr1305092pba.151.1315998340175; Wed, 14 Sep 2011 04:05:40 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id e8sm13000204pbc.8.2011.09.14.04.05.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 04:05:39 -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: [PATCH V2] ARM: EXYNOS4: Add machine support for 7" LCD on ORIGEN Date: Wed, 14 Sep 2011 16:31:52 +0530 Message-Id: <1315998112-31395-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. Also power domain device for LCD0 is registered. Signed-off-by: Tushar Behera --- Changes for V2: * Added power domain device registration for LCD0 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 (for-next) arch/arm/mach-exynos4/Kconfig | 3 ++ arch/arm/mach-exynos4/mach-origen.c | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig index 48f18f7..4f28871 100644 --- a/arch/arm/mach-exynos4/Kconfig +++ b/arch/arm/mach-exynos4/Kconfig @@ -222,6 +222,9 @@ config MACH_ORIGEN select S3C_DEV_RTC select S3C_DEV_WDT select S3C_DEV_HSMMC2 + select S5P_DEV_FIMD0 + select EXYNOS4_DEV_PD + 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..ed04f63 100644 --- a/arch/arm/mach-exynos4/mach-origen.c +++ b/arch/arm/mach-exynos4/mach-origen.c @@ -14,16 +14,22 @@ #include #include #include +#include + +#include