From patchwork Wed Sep 7 10:47:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 3960 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 9379223EF9 for ; Wed, 7 Sep 2011 10:51:24 +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 8662DA18294 for ; Wed, 7 Sep 2011 10:51:24 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id 18so602950fxd.11 for ; Wed, 07 Sep 2011 03:51:24 -0700 (PDT) Received: by 10.223.4.133 with SMTP id 5mr130814far.81.1315392684432; Wed, 07 Sep 2011 03:51:24 -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 m8cs134946lab; Wed, 7 Sep 2011 03:51:24 -0700 (PDT) Received: by 10.100.246.13 with SMTP id t13mr2692832anh.86.1315392683217; Wed, 07 Sep 2011 03:51:23 -0700 (PDT) Received: from mail-gx0-f174.google.com (mail-gx0-f174.google.com [209.85.161.174]) by mx.google.com with ESMTPS id d11si22470anb.53.2011.09.07.03.51.21 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 03:51:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.161.174 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.161.174; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.161.174 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by gxk21 with SMTP id 21so5372036gxk.5 for ; Wed, 07 Sep 2011 03:51:21 -0700 (PDT) Received: by 10.68.28.234 with SMTP id e10mr3074378pbh.213.1315392681427; Wed, 07 Sep 2011 03:51:21 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id u2sm4546908pbq.9.2011.09.07.03.51.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 03:51:20 -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] ARM: EXYNOS4: Add machine support for 7" LCD on ORIGEN Date: Wed, 7 Sep 2011 16:17:36 +0530 Message-Id: <1315392456-29293-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 patch is rebased on [1]. But for proper working of LCD on ORIGEN, following patches are needed. a. ARM: EXYNOS4: Add PWM backlight support on Origen http://www.spinics.net/lists/linux-samsung-soc/msg06309.html b. ARM: EXYNOS4: Configure MAX8997 PMIC for Origen http://www.spinics.net/lists/linux-samsung-soc/msg06282.html [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