Skip to contentSkip to conversation

video: support MIPI-DSI controller driver

PATCH New Donghwa Lee 1 participant 1 message Jan 27, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v8 1/2 video: support MIPI-DSI controller driver

Samsung S5PC210 and EXYNOS SoC platform has MIPI-DSI controller and MIPI-DSI based LCD Panel could be used with it. This patch supports MIPI-DSI driver based Samsung SoC chip.

LCD panel driver based MIPI-DSI should be registered to MIPI-DSI driver at machine code and LCD panel driver specific function registered to mipi_dsim_ddi structure at lcd panel init function called system init.
In the MIPI-DSI driver, find lcd panel driver by using registered lcd panel name, and then initialize lcd panel driver.

Changes since v7:
- create new directory related exynos video driver
- move all new files to driver/video/exynos
- change name from "mipi_dsim.h" to "exynos_mipi_dsim.h".

---
 drivers/video/Kconfig                           |    1 +
 drivers/video/Makefile                          |    2 +
 drivers/video/exynos/Kconfig                    |   22 +
 drivers/video/exynos/Makefile                   |    6 +
 drivers/video/exynos/exynos_mipi_dsi.c          |  600 +++++++++++++++
 drivers/video/exynos/exynos_mipi_dsi_common.c   |  896 +++++++++++++++++++++++
 drivers/video/exynos/exynos_mipi_dsi_common.h   |   46 ++
 drivers/video/exynos/exynos_mipi_dsi_lowlevel.c |  618 ++++++++++++++++
 drivers/video/exynos/exynos_mipi_dsi_lowlevel.h |  112 +++
 drivers/video/exynos/exynos_mipi_dsi_regs.h     |  149 ++++
 include/video/exynos_mipi_dsim.h                |  359 +++++++++
 11 files changed, 2811 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/exynos/Kconfig
 create mode 100644 drivers/video/exynos/Makefile
 create mode 100644 drivers/video/exynos/exynos_mipi_dsi.c
 create mode 100644 drivers/video/exynos/exynos_mipi_dsi_common.c
 create mode 100644 drivers/video/exynos/exynos_mipi_dsi_common.h
 create mode 100644 drivers/video/exynos/exynos_mipi_dsi_lowlevel.c
 create mode 100644 drivers/video/exynos/exynos_mipi_dsi_lowlevel.h
 create mode 100644 drivers/video/exynos/exynos_mipi_dsi_regs.h
 create mode 100644 include/video/exynos_mipi_dsim.h
drivers/video/Kconfig +1 -0
index d83e967..f2e05c0 100644
@@ -2414,6 +2414,7 @@ source "drivers/video/omap2/Kconfig"
 
 source "drivers/video/backlight/Kconfig"
 source "drivers/video/display/Kconfig"
+source "drivers/video/exynos/Kconfig"
 
 if VT
 	source "drivers/video/console/Kconfig"
drivers/video/Makefile +2 -0
index 9b9d8ff..762a916 100644
@@ -15,6 +15,8 @@ obj-$(CONFIG_VT)		  += console/
 obj-$(CONFIG_LOGO)		  += logo/
 obj-y				  += backlight/ display/
 
+obj-$(CONFIG_EXYNOS_VIDEO)     += exynos/
+
 obj-$(CONFIG_FB_CFB_FILLRECT)  += cfbfillrect.o
 obj-$(CONFIG_FB_CFB_COPYAREA)  += cfbcopyarea.o
 obj-$(CONFIG_FB_CFB_IMAGEBLIT) += cfbimgblt.o
drivers/video/exynos/Kconfig new file +22 -0
new file mode 100644
index 0000000..645b8a5
@@ -0,0 +1,22 @@
+#
+# Exynos Video configuration
+#
+
+menuconfig EXYNOS_VIDEO
+	bool "Exynos Video driver support"
+	help
+	  This enables support for EXYNOS Video device.
+
+if EXYNOS_VIDEO
+
+#
+# MIPI DSI driver
+#
+
+config EXYNOS_MIPI_DSI
+	bool "EXYNOS MIPI DSI driver support."
+	depends on (ARCH_S5PV210 || ARCH_EXYNOS)
+	help
+	  This enables support for MIPI-DSI device.
+
+endif # EXYNOS_VIDEO
drivers/video/exynos/Makefile new file +6 -0
new file mode 100644
index 0000000..a1ae82a
@@ -0,0 +1,6 @@
+#
+# 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
drivers/video/exynos/exynos_mipi_dsi.c new file +600 -0

600 lines not on this page · raw message

drivers/video/exynos/exynos_mipi_dsi_common.c new file +896 -0

896 lines not on this page · raw message

drivers/video/exynos/exynos_mipi_dsi_common.h new file +46 -0

46 lines not on this page · raw message

drivers/video/exynos/exynos_mipi_dsi_lowlevel.c new file +618 -0

618 lines not on this page · raw message

drivers/video/exynos/exynos_mipi_dsi_lowlevel.h new file +112 -0

112 lines not on this page · raw message

drivers/video/exynos/exynos_mipi_dsi_regs.h new file +149 -0

149 lines not on this page · raw message

include/video/exynos_mipi_dsim.h new file +359 -0

359 lines not on this page · raw message

Signature · 1 line
1.7.4.1