From 9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00 Mon Sep 17 00:00:00 2001 From: Yunhong Jiang Date: Tue, 4 Aug 2015 12:17:53 -0700 Subject: Add the rt linux 4.1.3-rt3 as base Import the rt linux 4.1.3-rt3 as OPNFV kvm base. It's from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.1.y-rt and the base is: commit 0917f823c59692d751951bf5ea699a2d1e2f26a2 Author: Sebastian Andrzej Siewior Date: Sat Jul 25 12:13:34 2015 +0200 Prepare v4.1.3-rt3 Signed-off-by: Sebastian Andrzej Siewior We lose all the git history this way and it's not good. We should apply another opnfv project repo in future. Change-Id: I87543d81c9df70d99c5001fbdf646b202c19f423 Signed-off-by: Yunhong Jiang --- kernel/drivers/video/fbdev/exynos/Kconfig | 32 + kernel/drivers/video/fbdev/exynos/Makefile | 7 + .../drivers/video/fbdev/exynos/exynos_mipi_dsi.c | 573 +++++++++++++ .../video/fbdev/exynos/exynos_mipi_dsi_common.c | 880 ++++++++++++++++++++ .../video/fbdev/exynos/exynos_mipi_dsi_common.h | 46 ++ .../video/fbdev/exynos/exynos_mipi_dsi_lowlevel.c | 618 ++++++++++++++ .../video/fbdev/exynos/exynos_mipi_dsi_lowlevel.h | 112 +++ .../video/fbdev/exynos/exynos_mipi_dsi_regs.h | 149 ++++ kernel/drivers/video/fbdev/exynos/s6e8ax0.c | 892 +++++++++++++++++++++ 9 files changed, 3309 insertions(+) create mode 100644 kernel/drivers/video/fbdev/exynos/Kconfig create mode 100644 kernel/drivers/video/fbdev/exynos/Makefile create mode 100644 kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi.c create mode 100644 kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi_common.c create mode 100644 kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi_common.h create mode 100644 kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi_lowlevel.c create mode 100644 kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi_lowlevel.h create mode 100644 kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi_regs.h create mode 100644 kernel/drivers/video/fbdev/exynos/s6e8ax0.c (limited to 'kernel/drivers/video/fbdev/exynos') diff --git a/kernel/drivers/video/fbdev/exynos/Kconfig b/kernel/drivers/video/fbdev/exynos/Kconfig new file mode 100644 index 000000000..1f16b4678 --- /dev/null +++ b/kernel/drivers/video/fbdev/exynos/Kconfig @@ -0,0 +1,32 @@ +# +# Exynos Video configuration +# + +menuconfig EXYNOS_VIDEO + bool "Exynos Video driver support" + depends on ARCH_S5PV210 || ARCH_EXYNOS + help + This enables support for EXYNOS Video device. + +if EXYNOS_VIDEO + +# +# MIPI DSI driver +# + +config EXYNOS_MIPI_DSI + bool "EXYNOS MIPI DSI driver support." + select GENERIC_PHY + help + This enables support for MIPI-DSI device. + +config EXYNOS_LCD_S6E8AX0 + bool "S6E8AX0 MIPI AMOLED LCD Driver" + depends on EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE + depends on (LCD_CLASS_DEVICE = y) + default n + help + If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its + LCD control driver. + +endif # EXYNOS_VIDEO diff --git a/kernel/drivers/video/fbdev/exynos/Makefile b/kernel/drivers/video/fbdev/exynos/Makefile new file mode 100644 index 000000000..b5b1bd228 --- /dev/null +++ b/kernel/drivers/video/fbdev/exynos/Makefile @@ -0,0 +1,7 @@ +# +# Makefile for the exynos video drivers. +# + +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 diff --git a/kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi.c b/kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi.c new file mode 100644 index 000000000..b527fe464 --- /dev/null +++ b/kernel/drivers/video/fbdev/exynos/exynos_mipi_dsi.c @@ -0,0 +1,573 @@ +/* linux/drivers/video/exynos/exynos_mipi_dsi.c + * + * Samsung SoC MIPI-DSIM driver. + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd + * + * InKi Dae, + * Donghwa Lee, + * + * 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 +#include + +#include