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: 2068491 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 65A88DF264 for ; Wed, 30 Jan 2013 15:39:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753853Ab3A3Pjt (ORCPT ); Wed, 30 Jan 2013 10:39:49 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:8476 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753020Ab3A3Pjr (ORCPT ); Wed, 30 Jan 2013 10:39:47 -0500 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>; Thu, 31 Jan 2013 00:39:46 +0900 (KST) X-AuditID: cbfee61b-b7fb06d000000f28-c0-51093ec2ad19 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 9C.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>; Thu, 31 Jan 2013 00:39:46 +0900 (KST) From: Tomasz Figa To: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org, linux-samsung-soc@vger.kernel.org, kyungmin.park@samsung.com, m.szyprowski@samsung.com, t.figa@samsung.com, tomasz.figa@gmail.com, Daniel Vetter , Marcus Lorentzon , Laurent Pinchart , rob@ti.com, tomi.valkeinen@ti.com, Vikas Sajjan , inki.dae@samsung.com, dh09.lee@samsung.com, ville.syrjala@intel.com, s.nawrocki@samsung.com 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+NgFnrJJMWRmVeSWpSXmKPExsVy+t9jAd1DdpyBBpt61C1O9H1gtZhxfh+T A5PH501yAYxRXDYpqTmZZalF+nYJXBlnd/9iK1j+jbHiw8kvbA2MC04xdjFyckgImEgcezeJ FcIWk7hwbz0biC0ksIhR4sp1zy5GLiC7i0niyddnYA1sAmoSnxsegRWJCChL/J24ihGkiFng GbPEvrPHwSYJCwRLXLjeAGazCKhKdF2bwgxi8wo4Sfx/O5sFYpu8xNP7fWCDOAWcJf5tvs8O sdlJ4sLu/SwTGHkXMDKsYhRNLUguKE5KzzXSK07MLS7NS9dLzs/dxAgOgGfSOxhXNVgcYhTg YFTi4V3wgj1QiDWxrLgy9xCjBAezkgjvIRPOQCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8jKee BAgJpCeWpGanphakFsFkmTg4pRoYy1L8tG4KtXNk1c5fnKKduGAdi/bknxJFdVKX5NKWvhSa +rhjZri658lP/1n+MDU4CBY5JfsuSX1y5PaFpx4LK/peeC688n+LVuGpzj/7V20yDDq2MN+p qe3Cy5bW8tdcdyZxnm8IDlJJV6gwXxZ7wvSo18fEko2pQu5Jga/i/oXeyPi54PEMJZbijERD Leai4kQAVqmO1vwBAAA= Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.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