From e9474be4eb6918c91cb0d296f9744e8ec0e08c11 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Fri, 3 Feb 2012 18:01:55 +0900 Subject: [PATCH] video: support DP controller driver Samsung EXYNOS SoC such Exynos5 has DP controller and embedded DP panel can be used. This patch supports DP driver based on Samsung EXYNOS SoC chip. Signed-off-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Florian Tobias Schandinat --- drivers/video/exynos/Kconfig | 7 + drivers/video/exynos/Makefile | 1 + drivers/video/exynos/exynos_dp_core.c | 1058 ++++++++++++++++++++++ drivers/video/exynos/exynos_dp_core.h | 206 +++++ drivers/video/exynos/exynos_dp_reg.c | 1173 +++++++++++++++++++++++++ drivers/video/exynos/exynos_dp_reg.h | 335 +++++++ include/video/exynos_dp.h | 131 +++ 7 files changed, 2911 insertions(+) create mode 100644 drivers/video/exynos/exynos_dp_core.c create mode 100644 drivers/video/exynos/exynos_dp_core.h create mode 100644 drivers/video/exynos/exynos_dp_reg.c create mode 100644 drivers/video/exynos/exynos_dp_reg.h create mode 100644 include/video/exynos_dp.h diff --git a/drivers/video/exynos/Kconfig b/drivers/video/exynos/Kconfig index 7032ad9f3fb..1b035b2eb6b 100644 --- a/drivers/video/exynos/Kconfig +++ b/drivers/video/exynos/Kconfig @@ -27,4 +27,11 @@ config EXYNOS_LCD_S6E8AX0 If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its LCD control driver. +config EXYNOS_DP + bool "EXYNOS DP driver support" + depends on ARCH_EXYNOS + default n + help + This enables support for DP device. + endif # EXYNOS_VIDEO diff --git a/drivers/video/exynos/Makefile b/drivers/video/exynos/Makefile index b5b1bd228ab..ec7772e452a 100644 --- a/drivers/video/exynos/Makefile +++ b/drivers/video/exynos/Makefile @@ -5,3 +5,4 @@ obj-$(CONFIG_EXYNOS_MIPI_DSI) += exynos_mipi_dsi.o exynos_mipi_dsi_common.o \ exynos_mipi_dsi_lowlevel.o obj-$(CONFIG_EXYNOS_LCD_S6E8AX0) += s6e8ax0.o +obj-$(CONFIG_EXYNOS_DP) += exynos_dp_core.o exynos_dp_reg.o diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c new file mode 100644 index 00000000000..2a4481cf260 --- /dev/null +++ b/drivers/video/exynos/exynos_dp_core.c @@ -0,0 +1,1058 @@ +/* + * Samsung SoC DP (Display Port) interface driver. + * + * Copyright (C) 2012 Samsung Electronics Co., Ltd. + * Author: Jingoo Han + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include