From 1fede8ec2cfa91872f2c09363a0e166b98deb1a2 Mon Sep 17 00:00:00 2001 From: Qiang Liu Date: Fri, 26 Jun 2015 14:44:49 +0800 Subject: video: mmp: add hx8394d_jt panel driver support for pxa1908sl Add driver of panel hxa8394d_jt. Change-Id: If46dac100482247278d7c1697188255da010514b Signed-off-by: Qiang Liu Signed-off-by: Andy Luo --- drivers/video/mmp/panel/Kconfig | 6 + drivers/video/mmp/panel/Makefile | 1 + drivers/video/mmp/panel/mipi_hx8394d_jt.c | 678 ++++++++++++++++++++++++++++++ 3 files changed, 685 insertions(+) create mode 100644 drivers/video/mmp/panel/mipi_hx8394d_jt.c diff --git a/drivers/video/mmp/panel/Kconfig b/drivers/video/mmp/panel/Kconfig index 964a14d9839..ab23d838121 100644 --- a/drivers/video/mmp/panel/Kconfig +++ b/drivers/video/mmp/panel/Kconfig @@ -59,6 +59,12 @@ config MMP_PANEL_HX8394 help MIPI panel hx8394 support +config MMP_PANEL_HX8394D + bool "MIPI panel hx8394D support" + default n + help + MIPI panel hx8394D support + config MMP_PANEL_FL10802 bool "MIPI panel fl10802 support" default n diff --git a/drivers/video/mmp/panel/Makefile b/drivers/video/mmp/panel/Makefile index 85b57faf014..21631af16b5 100644 --- a/drivers/video/mmp/panel/Makefile +++ b/drivers/video/mmp/panel/Makefile @@ -4,6 +4,7 @@ obj-$(CONFIG_MMP_PANEL_LG4591) += mipi_lg4591.o obj-$(CONFIG_MMP_PANEL_OTM1281A) += mipi_otm1281a.o obj-$(CONFIG_MMP_PANEL_TD043MGEA1) += paral_td043mgea1.o obj-$(CONFIG_MMP_PANEL_HX8394) += mipi_hx8394.o +obj-$(CONFIG_MMP_PANEL_HX8394D) += mipi_hx8394d_jt.o obj-$(CONFIG_MMP_PANEL_FL10802) += mipi_fl10802.o obj-$(CONFIG_MMP_PANEL_OTM8018B) += mipi_otm8018b.o obj-$(CONFIG_MMP_PANEL_OTM1283A) += mipi_otm1283a.o diff --git a/drivers/video/mmp/panel/mipi_hx8394d_jt.c b/drivers/video/mmp/panel/mipi_hx8394d_jt.c new file mode 100644 index 00000000000..7bb404b9c23 --- /dev/null +++ b/drivers/video/mmp/panel/mipi_hx8394d_jt.c @@ -0,0 +1,678 @@ +/* + * drivers/video/mmp/panel/mipi_hx8394d.c + * active panel using DSI interface to do init + * + * Copyright (C) 2013 Marvell Technology Group Ltd. + * Authors: Yonghai Huang + * Xiaolong Ye + * Guoqing Li + * Lisa Du + * Zhou Zhu + * Jing Xiang + * + * 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. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include