From patchwork Thu Sep 15 08:54:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 4084 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 2258523EFA for ; Thu, 15 Sep 2011 08:58:18 +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 1484EA18859 for ; Thu, 15 Sep 2011 08:58:18 +0000 (UTC) Received: by fxe23 with SMTP id 23so576703fxe.11 for ; Thu, 15 Sep 2011 01:58:18 -0700 (PDT) Received: by 10.223.61.66 with SMTP id s2mr44171fah.27.1316077097850; Thu, 15 Sep 2011 01:58:17 -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 m8cs84540lab; Thu, 15 Sep 2011 01:58:17 -0700 (PDT) Received: by 10.68.4.9 with SMTP id g9mr1477775pbg.425.1316077096400; Thu, 15 Sep 2011 01:58:16 -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 g1si7768992pbl.43.2011.09.15.01.58.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 01:58:16 -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 36so852653pzk.31 for ; Thu, 15 Sep 2011 01:58:15 -0700 (PDT) Received: by 10.68.6.201 with SMTP id d9mr1650117pba.19.1316077095579; Thu, 15 Sep 2011 01:58:15 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id e3sm21188035pbi.7.2011.09.15.01.58.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 01:58:14 -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 V4] ARM: EXYNOS4: Add machine support for 7" LCD on ORIGEN Date: Thu, 15 Sep 2011 14:24:27 +0530 Message-Id: <1316076867-2138-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 V4: * Added gpio_free() call * Removed .refresh value as it was same as default value. Changes for V3: * Added error check for gpio request in LCD power function Changes for V2: * Added power domain device registration for LCD0 arch/arm/mach-exynos4/Kconfig | 3 ++ arch/arm/mach-exynos4/mach-origen.c | 60 +++++++++++++++++++++++++++++++++++ 2 files changed, 63 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..0833fcb 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