From patchwork Thu Jan 5 15:45:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 6069 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 14C7423E01 for ; Thu, 5 Jan 2012 15:41:07 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 074A3A18355 for ; Thu, 5 Jan 2012 15:41:07 +0000 (UTC) Received: by eaac11 with SMTP id c11so579058eaa.11 for ; Thu, 05 Jan 2012 07:41:06 -0800 (PST) Received: by 10.205.120.11 with SMTP id fw11mr926330bkc.89.1325778066755; Thu, 05 Jan 2012 07:41:06 -0800 (PST) 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.205.82.144 with SMTP id ac16cs404385bkc; Thu, 5 Jan 2012 07:41:06 -0800 (PST) Received: by 10.68.74.102 with SMTP id s6mr6371297pbv.81.1325778064284; Thu, 05 Jan 2012 07:41:04 -0800 (PST) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id g9si72857930pbj.85.2012.01.05.07.41.03; Thu, 05 Jan 2012 07:41:04 -0800 (PST) Received-SPF: neutral (google.com: 203.254.224.24 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.24; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.24 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org Received: from epcpsbgm2.samsung.com (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LXC00HJD0WE4R70@mailout1.samsung.com> for patches@linaro.org; Fri, 06 Jan 2012 00:41:02 +0900 (KST) X-AuditID: cbfee61b-b7b95ae00000198b-84-4f05c48e4dc9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id 8F.69.06539.E84C50F4; Fri, 06 Jan 2012 00:41:02 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTPA id <0LXC00FYO0W7Y640@mmp2.samsung.com> for patches@linaro.org; Fri, 06 Jan 2012 00:41:02 +0900 (KST) From: Thomas Abraham To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, rpurdie@rpsys.net, kgene.kim@samsung.com, jg1.han@samsung.com, patches@linaro.org Subject: [PATCH] ARM: Exynos: Use lcd power control driver for lcd panel Date: Thu, 05 Jan 2012 21:15:22 +0530 Message-id: <1325778322-27143-1-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 X-Brightmail-Tracker: AAAAAA== The Hydis hv070wsa lcd panel used with the Origen board uses a gpio for reset and the Vcc supply to the panel can be controlled using a voltage regulator. Switch to using the lcd power control driver for controlling the power to the lcd panel. Signed-off-by: Thomas Abraham --- The 'apply_uV' of buck7 regulator which controls the Vcc of the lcd panel is modified to be 0. The regulator need not start supplying power to the lcd panel at boot time. The lcd driver will turn on the power to the lcd panel when frame buffer driver has to output data to the lcd panel. arch/arm/mach-exynos/mach-origen.c | 36 +++++++++++------------------------- 1 files changed, 11 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 23fc5cb..522fad7 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c @@ -25,7 +25,7 @@ #include #include -#include