From patchwork Wed Jan 30 15:39:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2068481 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6EB943FD1A for ; Wed, 30 Jan 2013 15:39:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753502Ab3A3Pjm (ORCPT ); Wed, 30 Jan 2013 10:39:42 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:8467 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753020Ab3A3Pjk (ORCPT ); Wed, 30 Jan 2013 10:39:40 -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:39 +0900 (KST) X-AuditID: cbfee61b-b7fb06d000000f28-b0-51093ebb6d68 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 99.A6.03880.BBE39015; Thu, 31 Jan 2013 00:39:39 +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:39 +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 3/4] video: display: Add exynos-dsi video source driver Date: Wed, 30 Jan 2013 16:39:02 +0100 Message-id: <1359560343-31636-4-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+t9jAd3ddpyBBuunSFqc6PvAajHj/D4m ByaPz5vkAhijuGxSUnMyy1KL9O0SuDIOHr7DVvB+CVPFlf7JrA2MS98xdjFyckgImEhM3PeC BcIWk7hwbz1bFyMXh5DAIkaJlx+3sEA4XUwSE348ZQOpYhNQk/jc8AjMFhFQlvg7cRUjSBGz wDNmiX1nj7OCJIQFvCUmXHjB3MXIwcEioCox+50HSJhXwEliwfdj7BDb5CWe3u8Dm8Mp4Czx b/N9sLgQUM2F3ftZJjDyLmBkWMUomlqQXFCclJ5rpFecmFtcmpeul5yfu4kRHADPpHcwrmqw OMQowMGoxMO74AV7oBBrYllxZe4hRgkOZiUR3kMmnIFCvCmJlVWpRfnxRaU5qcWHGKU5WJTE eRlPPQkQEkhPLEnNTk0tSC2CyTJxcEo1MKZo3l+rv89Agj3z2w75p+26Rc7md4OeeWtvf5a6 mu15WVOts1E+J9u2UkVJucK7IWW3/+kuDTU/uy1r1y6FT/uVbK5+e3K/5bP1YhVGP4N5NX8+ 3BRJvX136dI7z7/xsjziVVM9H7pg4hWTE/veXZBW7RDzF1xsv/GrTcXR2o1udv2pLlNSliux FGckGmoxFxUnAgBG/Blu/AEAAA== Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This patch adds new driver for DSI master block available in Samsung Exynos SoCs. The driver is designed and written specifically for Common Display Framework. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- drivers/video/display/Kconfig | 3 + drivers/video/display/Makefile | 1 + drivers/video/display/source-exynos_dsi.c | 1313 +++++++++++++++++++++++++++++ include/video/exynos_dsi.h | 41 + 4 files changed, 1358 insertions(+) create mode 100644 drivers/video/display/source-exynos_dsi.c create mode 100644 include/video/exynos_dsi.h diff --git a/drivers/video/display/Kconfig b/drivers/video/display/Kconfig index 477192d..b14527a 100644 --- a/drivers/video/display/Kconfig +++ b/drivers/video/display/Kconfig @@ -6,5 +6,8 @@ menuconfig DISPLAY_CORE if DISPLAY_CORE +config DISPLAY_SOURCE_EXYNOS_DSI + tristate "Samsung SoC MIPI DSI Master" + endif # DISPLAY_CORE diff --git a/drivers/video/display/Makefile b/drivers/video/display/Makefile index bd93496..40a283a 100644 --- a/drivers/video/display/Makefile +++ b/drivers/video/display/Makefile @@ -1 +1,2 @@ obj-$(CONFIG_DISPLAY_CORE) += display-core.o +obj-$(CONFIG_DISPLAY_SOURCE_EXYNOS_DSI) += source-exynos_dsi.o diff --git a/drivers/video/display/source-exynos_dsi.c b/drivers/video/display/source-exynos_dsi.c new file mode 100644 index 0000000..30b15bf --- /dev/null +++ b/drivers/video/display/source-exynos_dsi.c @@ -0,0 +1,1313 @@ +/* + * Samsung SoC MIPI DSI Master driver. + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd + * + * Contacts: 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