From patchwork Wed Jan 30 15:39:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2068541 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id E227FDF264 for ; Wed, 30 Jan 2013 15:46:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C36E6E5CD6 for ; Wed, 30 Jan 2013 07:46:14 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTP id 75357E5C60 for ; Wed, 30 Jan 2013 07:39:47 -0800 (PST) Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MHG008GB3I1SB20@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 31 Jan 2013 00:39:46 +0900 (KST) X-AuditID: cbfee61b-b7fb06d000000f28-be-51093ec2cf19 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5C.A6.03880.2CE39015; Thu, 31 Jan 2013 00:39:46 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MHG009Z23H7XH70@mmp1.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 31 Jan 2013 00:39:46 +0900 (KST) From: Tomasz Figa To: dri-devel@lists.freedesktop.org Subject: [RFC PATCH 4/4] video: display: Add Samsung s6e8ax0 display panel driver Date: Wed, 30 Jan 2013 16:39:03 +0100 Message-id: <1359560343-31636-5-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.7.10 In-reply-to: <1359560343-31636-1-git-send-email-t.figa@samsung.com> References: <1359560343-31636-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKJMWRmVeSWpSXmKPExsVy+t9jAd1DdpyBBlPOyVtc+fqezYHR4373 caYAxigum5TUnMyy1CJ9uwSujLO7f7EVLP/GWPHh5Be2BsYFpxi7GDk4JARMJJ5d9O5i5AQy xSQu3FvP1sXIxSEksIhR4vPXI1DOOiaJxx2vmUCq2ATUJD43PGIDsUUElCX+TlzFCFLELPCM WWLf2eOsIAlhgWCJC9cbwGwWAVWJrmtTmEFsXgEnif9vZ7NArJOXeHq/D2wQp4CzxL/N99lB bCGgmgu797NMYORdwMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyPY88+kdzCuarA4xCjA wajEw7vgBXugEGtiWXFl7iFGCQ5mJRHeQyacgUK8KYmVValF+fFFpTmpxYcYpTlYlMR5GU89 CRASSE8sSc1OTS1ILYLJMnFwSjUwTrv12pZTLsNrskXTqdefQqY/2yjJy8W5UHR6qNCcKe/5 f3+5YiDj1PTk+f75Bxl4UmL2ZMcXHNw5wfDAiX3TXhZ0zlsk88zt1BOOiz7PypS2MRre0FS2 KX7EzCv4YM/Jicu9Fmi5lt1/9OTlpCSdddapJkevZCx7LvTaRp4vap0mt+jmiXaMxkosxRmJ hlrMRcWJABG7auz4AQAA Cc: linux-fbdev@vger.kernel.org, linux-samsung-soc@vger.kernel.org, ville.syrjala@intel.com, s.nawrocki@samsung.com, dh09.lee@samsung.com, tomasz.figa@gmail.com, kyungmin.park@samsung.com, tomi.valkeinen@ti.com, Laurent Pinchart , rob@ti.com, Vikas Sajjan , m.szyprowski@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org This patch adds Common Display Framework driver for Samsung s6e8ax0 MIPI DSI display panel. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- drivers/video/display/Kconfig | 3 + drivers/video/display/Makefile | 1 + drivers/video/display/panel-s6e8ax0.c | 1027 +++++++++++++++++++++++++++++++++ include/video/panel-s6e8ax0.h | 41 ++ 4 files changed, 1072 insertions(+) create mode 100644 drivers/video/display/panel-s6e8ax0.c create mode 100644 include/video/panel-s6e8ax0.h diff --git a/drivers/video/display/Kconfig b/drivers/video/display/Kconfig index b14527a..f19ec04 100644 --- a/drivers/video/display/Kconfig +++ b/drivers/video/display/Kconfig @@ -5,6 +5,9 @@ menuconfig DISPLAY_CORE if DISPLAY_CORE +config DISPLAY_PANEL_S6E8AX0 + tristate "S6E8AX0 DSI video mode panel" + select OF_VIDEOMODE config DISPLAY_SOURCE_EXYNOS_DSI tristate "Samsung SoC MIPI DSI Master" diff --git a/drivers/video/display/Makefile b/drivers/video/display/Makefile index 40a283a..0f7fdc2 100644 --- a/drivers/video/display/Makefile +++ b/drivers/video/display/Makefile @@ -1,2 +1,3 @@ obj-$(CONFIG_DISPLAY_CORE) += display-core.o +obj-$(CONFIG_DISPLAY_PANEL_S6E8AX0) += panel-s6e8ax0.o obj-$(CONFIG_DISPLAY_SOURCE_EXYNOS_DSI) += source-exynos_dsi.o diff --git a/drivers/video/display/panel-s6e8ax0.c b/drivers/video/display/panel-s6e8ax0.c new file mode 100644 index 0000000..4c09fe2 --- /dev/null +++ b/drivers/video/display/panel-s6e8ax0.c @@ -0,0 +1,1027 @@ +/* linux/drivers/video/exynos/s6e8ax0.c + * + * MIPI-DSI based s6e8ax0 AMOLED lcd 4.65 inch panel driver. + * + * Inki Dae, + * Donghwa Lee, + * Tomasz Figa, + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include