Skip to contentSkip to conversation

video: backlight: support s6e8ax0 panel driver based on MIPI DSI

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

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

PATCH v8 2/2 video: backlight: support s6e8ax0 panel driver based on MIPI DSI

This patch is amoled panel driver based MIPI DSI interface. S6E8AX0 means it may includes many other ldi controllers, for example, S6E8AA0, S6E8AB0, and so on.

This patch can be modified depending on each panel properites. For example, second parameter of panel condition register can be changed depending on ldi controller or amoled type.

Changes since v7:
- move s6e8ax0 driver to driver/video/exynos directory

---
 drivers/video/exynos/Kconfig   |   11 +-
 drivers/video/exynos/Makefile  |    1 +
 drivers/video/exynos/s6e8ax0.c |  898 ++++++++++++++++++++++++++++++++++++++++
 drivers/video/exynos/s6e8ax0.h |   21 +
 4 files changed, 930 insertions(+), 1 deletions(-)
 create mode 100644 drivers/video/exynos/s6e8ax0.c
 create mode 100644 drivers/video/exynos/s6e8ax0.h
drivers/video/exynos/Kconfig +10 -1
index 645b8a5..4fa7b9e 100644
@@ -15,8 +15,17 @@ if EXYNOS_VIDEO
 
 config EXYNOS_MIPI_DSI
 	bool "EXYNOS MIPI DSI driver support."
-	depends on (ARCH_S5PV210 || ARCH_EXYNOS)
+	depends on ARCH_S5PV210 || ARCH_EXYNOS
 	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 &&
+		LCD_CLASS_DEVICE)
+	default n
+	help
+	  If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its
+	  LCD control driver.
+
 endif # EXYNOS_VIDEO
drivers/video/exynos/Makefile +1 -0
index a1ae82a..b5b1bd2 100644
@@ -4,3 +4,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
drivers/video/exynos/s6e8ax0.c new file +898 -0

898 lines not on this page · raw message

drivers/video/exynos/s6e8ax0.h new file +21 -0
new file mode 100644
index 0000000..1f1b270
@@ -0,0 +1,21 @@
+/* linux/drivers/video/backlight/s6e8ax0.h
+ *
+ * MIPI-DSI based s6e8ax0 AMOLED LCD Panel definitions.
+ *
+ * Copyright (c) 2011 Samsung Electronics
+ *
+ * Inki Dae, <[email protected]>
+ * Donghwa Lee <[email protected]>
+ *
+ * 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.
+*/
+
+#ifndef _S6E8AX0_H
+#define _S6E8AX0_H
+
+extern void s6e8ax0_init(void);
+
+#endif
+
Signature · 1 line
1.7.4.1