From patchwork Mon Jan 2 05:54:35 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: 6021 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 4AB9223E07 for ; Mon, 2 Jan 2012 05:51:59 +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 3AFC6A18495 for ; Mon, 2 Jan 2012 05:51:59 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id c11so14398763eaa.11 for ; Sun, 01 Jan 2012 21:51:59 -0800 (PST) Received: by 10.205.120.148 with SMTP id fy20mr10366048bkc.125.1325483518990; Sun, 01 Jan 2012 21:51:58 -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 ac16cs304900bkc; Sun, 1 Jan 2012 21:51:58 -0800 (PST) Received: by 10.68.74.41 with SMTP id q9mr119515428pbv.129.1325483517588; Sun, 01 Jan 2012 21:51:57 -0800 (PST) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id e1si52152911pbh.27.2012.01.01.21.51.56; Sun, 01 Jan 2012 21:51:57 -0800 (PST) Received-SPF: neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.33 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 (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LX500DY2PM5F1F0@mailout3.samsung.com> for patches@linaro.org; Mon, 02 Jan 2012 14:51:56 +0900 (KST) X-AuditID: cbfee61b-b7b95ae00000198b-e9-4f0145fcf67f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id 8C.19.06539.CF5410F4; Mon, 02 Jan 2012 14:51:56 +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 <0LX500HWVPLAPJ60@mmp2.samsung.com> for patches@linaro.org; Mon, 02 Jan 2012 14:51:56 +0900 (KST) From: Thomas Abraham To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: rpurdie@rpsys.net, linux-samsung-soc@vger.kernel.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, kgene.kim@samsung.com, jg1.han@samsung.com, broonie@opensource.wolfsonmicro.com, kyungmin.park@samsung.com, cbou@mail.ru, kwangwoo.lee@gmail.com, augulis.darius@gmail.com, ben-linux@fluff.org, patches@linaro.org Subject: [RFC][PATCH 4/4] lcd: platform-lcd: Add device tree support Date: Mon, 02 Jan 2012 11:24:35 +0530 Message-id: <1325483675-21908-5-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 In-reply-to: <1325483675-21908-4-git-send-email-thomas.abraham@linaro.org> References: <1325483675-21908-1-git-send-email-thomas.abraham@linaro.org> <1325483675-21908-2-git-send-email-thomas.abraham@linaro.org> <1325483675-21908-3-git-send-email-thomas.abraham@linaro.org> <1325483675-21908-4-git-send-email-thomas.abraham@linaro.org> X-Brightmail-Tracker: AAAAAA== Add device tree based initialization for Hydis hv070wsa lcd panel. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- drivers/video/backlight/platform_lcd.c | 33 ++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c index feb4fd0..ebdddfd 100644 --- a/drivers/video/backlight/platform_lcd.c +++ b/drivers/video/backlight/platform_lcd.c @@ -18,6 +18,8 @@ #include #include #include +#include +#include #include