From patchwork Sat Nov 17 13:57:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 1759371 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 585BADF2A2 for ; Sat, 17 Nov 2012 14:04:09 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TZixp-0008CN-Bt; Sat, 17 Nov 2012 14:01:42 +0000 Received: from smtp32.i.mail.ru ([94.100.177.92]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TZiu4-0006GZ-AK for linux-arm-kernel@lists.infradead.org; Sat, 17 Nov 2012 13:57:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=OO/a3qM192jc2767krN7yme9MnRcmWIZ+XDqsehfguU=; b=i6IipGIlIkcIVMmmok1lLMcdeEkceq7uIKmWm52AAEcIT1CxrG4ycfwpmPzFtW8N8/iKdA7kqCHkf0Al0+9SsU2sy86vmHJFj3NRuDcA9ydEkY/8OSPw1AImiKW8LoxJ; Received: from [188.134.40.128] (port=37195 helo=shc.zet) by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1TZiu2-0006q5-Pp; Sat, 17 Nov 2012 17:57:46 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 12/18] ARM: clps711x: Moving power management of framebuffer driver to the board Date: Sat, 17 Nov 2012 17:57:18 +0400 Message-Id: <1353160644-22446-13-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1353160644-22446-1-git-send-email-shc_work@mail.ru> References: <1353160644-22446-1-git-send-email-shc_work@mail.ru> X-Spam: Not detected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121117_085748_765760_670F78D1 X-CRM114-Status: GOOD ( 18.52 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (shc_work[at]mail.ru) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Olof Johansson , Russell King , Alexander Shiyan , Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch moves the power management for clps711x-framebuffer driver to the board code. To control we use "platform-lcd" driver. Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/edb7211.c | 34 ++++++++++++++++++ arch/arm/mach-clps711x/include/mach/hardware.h | 2 - arch/arm/mach-clps711x/p720t.c | 20 +++++++++++ drivers/video/clps711xfb.c | 44 +++-------------------- 4 files changed, 60 insertions(+), 40 deletions(-) diff --git a/arch/arm/mach-clps711x/edb7211.c b/arch/arm/mach-clps711x/edb7211.c index cc32a65..81cc683 100644 --- a/arch/arm/mach-clps711x/edb7211.c +++ b/arch/arm/mach-clps711x/edb7211.c @@ -8,6 +8,8 @@ */ #include +#include +#include #include #include #include @@ -18,12 +20,17 @@ #include #include +#include