From patchwork Mon Jan 2 05:54:33 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: 6019 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 1C87E23E07 for ; Mon, 2 Jan 2012 05:51:54 +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 0CC5AA18495 for ; Mon, 2 Jan 2012 05:51:54 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id c11so14398763eaa.11 for ; Sun, 01 Jan 2012 21:51:54 -0800 (PST) Received: by 10.205.138.136 with SMTP id is8mr10600134bkc.35.1325483513590; Sun, 01 Jan 2012 21:51:53 -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 ac16cs304897bkc; Sun, 1 Jan 2012 21:51:53 -0800 (PST) Received: by 10.68.196.196 with SMTP id io4mr92332302pbc.18.1325483511000; Sun, 01 Jan 2012 21:51:51 -0800 (PST) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id l9si40334633pbi.182.2012.01.01.21.51.50; Sun, 01 Jan 2012 21:51:50 -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:48 +0900 (KST) X-AuditID: cbfee61b-b7b95ae00000198b-a4-4f0145f47703 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id FF.09.06539.4F5410F4; Mon, 02 Jan 2012 14:51:48 +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:48 +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 2/4] lcd: platform-lcd: Add support for Hydis hv070wsa lcd panel Date: Mon, 02 Jan 2012 11:24:33 +0530 Message-id: <1325483675-21908-3-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 In-reply-to: <1325483675-21908-2-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> X-Brightmail-Tracker: AAAAAA== Add Hydis hv070wsa lcd panel setup and control support in platform-lcd driver. Signed-off-by: Thomas Abraham --- drivers/video/backlight/Kconfig | 6 ++++ drivers/video/backlight/platform_lcd.c | 49 ++++++++++++++++++++++++++++++++ include/video/platform_lcd.h | 6 ++++ 3 files changed, 61 insertions(+), 0 deletions(-) diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index 278aeaa..ef4e9a7 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -86,6 +86,12 @@ config LCD_PLATFORM This driver provides a platform-device registered LCD power control interface. +config LCD_HYDIS_HV070WSA + tristate "Hydis HV070WSA LCD" + depends on LCD_PLATFORM + help + Enable support for Hydis HV070WSA lcd panel + config LCD_TOSA tristate "Sharp SL-6000 LCD Driver" depends on SPI && MACH_TOSA diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c index 707c81f..feb4fd0 100644 --- a/drivers/video/backlight/platform_lcd.c +++ b/drivers/video/backlight/platform_lcd.c @@ -17,6 +17,7 @@ #include #include #include +#include #include