From 7edf30421cc7efb0c2403fc5b465f9c517ceb5ab Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Tue, 5 Feb 2013 15:57:50 +0100 Subject: video: display: Add panel-s6d6aa1 driver This patch adds a CDF-compliant panel driver for S6D6AA1 DSI LCD panel. Signed-off-by: Tomasz Figa --- drivers/video/display/Kconfig | 4 + drivers/video/display/Makefile | 1 + drivers/video/display/panel-s6d6aa1.c | 769 ++++++++++++++++++++++++++++++++++ include/video/panel-s6d6aa1.h | 42 ++ 4 files changed, 816 insertions(+) create mode 100644 drivers/video/display/panel-s6d6aa1.c create mode 100644 include/video/panel-s6d6aa1.h diff --git a/drivers/video/display/Kconfig b/drivers/video/display/Kconfig index b14527ae224..3fb3d2c513c 100644 --- a/drivers/video/display/Kconfig +++ b/drivers/video/display/Kconfig @@ -5,6 +5,10 @@ menuconfig DISPLAY_CORE if DISPLAY_CORE +config DISPLAY_PANEL_S6D6AA1 + tristate "S6D6AA1 DSI video mode panel" + select OF_VIDEOMODE + config DISPLAY_SOURCE_EXYNOS_DSI tristate "Samsung SoC MIPI DSI Master" diff --git a/drivers/video/display/Makefile b/drivers/video/display/Makefile index 40a283ae5e3..eb9ec2dbd6d 100644 --- a/drivers/video/display/Makefile +++ b/drivers/video/display/Makefile @@ -1,2 +1,3 @@ obj-$(CONFIG_DISPLAY_CORE) += display-core.o +obj-$(CONFIG_DISPLAY_PANEL_S6D6AA1) += panel-s6d6aa1.o obj-$(CONFIG_DISPLAY_SOURCE_EXYNOS_DSI) += source-exynos_dsi.o diff --git a/drivers/video/display/panel-s6d6aa1.c b/drivers/video/display/panel-s6d6aa1.c new file mode 100644 index 00000000000..d62def9204a --- /dev/null +++ b/drivers/video/display/panel-s6d6aa1.c @@ -0,0 +1,769 @@ +/* linux/drivers/video/backlight/s6d6aa1.c + * + * MIPI-DSI based s6d6aa1 TFT-LCD 4.77 inch panel driver. + * + * Joongmock Shin + * Eunchul Kim + * + * 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