From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrzej Hajda Date: Tue, 24 Sep 2013 14:23:14 +0000 Subject: [RFC PATCH 2/4] mipi-dsi-exynos: add driver Message-Id: <1380032596-18612-3-git-send-email-a.hajda@samsung.com> List-Id: References: <1380032596-18612-1-git-send-email-a.hajda@samsung.com> In-Reply-To: <1380032596-18612-1-git-send-email-a.hajda@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Laurent Pinchart Cc: Andrzej Hajda , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, Kyungmin Park , Tomasz Figa , Donghwa Lee , Sylwester Nawrocki This patch adds mipi-dsi-bus master driver for Exynos chipset family. Signed-off-by: Tomasz Figa Signed-off-by: Donghwa Lee Signed-off-by: Sylwester Nawrocki Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- drivers/video/display/Kconfig | 4 + drivers/video/display/Makefile | 1 + drivers/video/display/mipi-dsi-exynos.c | 1310 +++++++++++++++++++++++++++++++ include/video/mipi-dsi-exynos.h | 41 + 4 files changed, 1356 insertions(+) create mode 100644 drivers/video/display/mipi-dsi-exynos.c create mode 100644 include/video/mipi-dsi-exynos.h diff --git a/drivers/video/display/Kconfig b/drivers/video/display/Kconfig index 619b05d..0a1e90b 100644 --- a/drivers/video/display/Kconfig +++ b/drivers/video/display/Kconfig @@ -24,6 +24,10 @@ config DISPLAY_MIPI_DSI tristate default n +config DISPLAY_MIPI_DSI_EXYNOS + select DISPLAY_MIPI_DSI + tristate "Samsung SoC MIPI DSI Master" + config DISPLAY_PANEL_DPI tristate "DPI (Parallel) Display Panels" ---help--- diff --git a/drivers/video/display/Makefile b/drivers/video/display/Makefile index b323fd4..2fd84f5 100644 --- a/drivers/video/display/Makefile +++ b/drivers/video/display/Makefile @@ -4,6 +4,7 @@ obj-$(CONFIG_DISPLAY_CORE) += display.o obj-$(CONFIG_DISPLAY_CONNECTOR_VGA) += con-vga.o obj-$(CONFIG_DISPLAY_MIPI_DBI) += mipi-dbi-bus.o obj-$(CONFIG_DISPLAY_MIPI_DSI) += mipi-dsi-bus.o +obj-$(CONFIG_DISPLAY_MIPI_DSI_EXYNOS) += mipi-dsi-exynos.o obj-$(CONFIG_DISPLAY_PANEL_DPI) += panel-dpi.o obj-$(CONFIG_DISPLAY_PANEL_R61505) += panel-r61505.o obj-$(CONFIG_DISPLAY_PANEL_R61517) += panel-r61517.o diff --git a/drivers/video/display/mipi-dsi-exynos.c b/drivers/video/display/mipi-dsi-exynos.c new file mode 100644 index 0000000..e094744 --- /dev/null +++ b/drivers/video/display/mipi-dsi-exynos.c @@ -0,0 +1,1310 @@ +/* + * 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