From patchwork Thu Sep 15 04:28:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 4079 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 EE72023EFA for ; Thu, 15 Sep 2011 04:32:07 +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 CE26FA1879D for ; Thu, 15 Sep 2011 04:32:07 +0000 (UTC) Received: by fxe23 with SMTP id 23so379616fxe.11 for ; Wed, 14 Sep 2011 21:32:07 -0700 (PDT) Received: by 10.223.34.143 with SMTP id l15mr222596fad.46.1316061127569; Wed, 14 Sep 2011 21:32:07 -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 m8cs78083lab; Wed, 14 Sep 2011 21:32:07 -0700 (PDT) Received: by 10.68.32.134 with SMTP id j6mr1136473pbi.502.1316061125698; Wed, 14 Sep 2011 21:32:05 -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 g1si7205479pbl.98.2011.09.14.21.32.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 21:32:05 -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 pzk36 with SMTP id 36so497759pzk.31 for ; Wed, 14 Sep 2011 21:32:04 -0700 (PDT) Received: by 10.68.199.100 with SMTP id jj4mr1298846pbc.270.1316061124774; Wed, 14 Sep 2011 21:32:04 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id i1sm19420190pbe.1.2011.09.14.21.32.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 21:32:03 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, festevam@gmail.com, linaro-dev@lists.linaro.org, patches@linaro.org Subject: [PATCH V3] ARM: EXYNOS4: Add machine support for 7" LCD on ORIGEN Date: Thu, 15 Sep 2011 09:58:15 +0530 Message-Id: <1316060895-16962-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 V3: * Added error check for gpio request in LCD power function 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 | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 57 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..0dcd527 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