From ef26958a0c44b503ee39b2319e240be36bb34415 Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Thu, 12 Sep 2013 17:45:57 +0530 Subject: omapdss: HDMI: Rename hdmi driver files to nicer names Replace the ti_hdmi_4xxx* notation for OMAP4 HDMI driver with hdmi4. Rename the hdmi.c encoder driver to hdmi4.c. Rename ti_hdmi.h to hdmi.h Signed-off-by: Archit Taneja Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/Makefile | 4 +- drivers/video/omap2/dss/core.c | 4 +- drivers/video/omap2/dss/dss.h | 4 +- drivers/video/omap2/dss/hdmi.c | 1128 ----------------------------- drivers/video/omap2/dss/hdmi.h | 435 +++++++++++ drivers/video/omap2/dss/hdmi4.c | 1124 ++++++++++++++++++++++++++++ drivers/video/omap2/dss/hdmi4_core.c | 1034 ++++++++++++++++++++++++++ drivers/video/omap2/dss/hdmi4_core.h | 276 +++++++ drivers/video/omap2/dss/hdmi_phy.c | 2 +- drivers/video/omap2/dss/hdmi_pll.c | 2 +- drivers/video/omap2/dss/hdmi_wp.c | 2 +- drivers/video/omap2/dss/ti_hdmi.h | 437 ----------- drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | 1034 -------------------------- drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h | 278 ------- 14 files changed, 2878 insertions(+), 2886 deletions(-) delete mode 100644 drivers/video/omap2/dss/hdmi.c create mode 100644 drivers/video/omap2/dss/hdmi.h create mode 100644 drivers/video/omap2/dss/hdmi4.c create mode 100644 drivers/video/omap2/dss/hdmi4_core.c create mode 100644 drivers/video/omap2/dss/hdmi4_core.h delete mode 100644 drivers/video/omap2/dss/ti_hdmi.h delete mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c delete mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h (limited to 'drivers/video/omap2/dss') diff --git a/drivers/video/omap2/dss/Makefile b/drivers/video/omap2/dss/Makefile index d88e93870e15..f87ca3216a1f 100644 --- a/drivers/video/omap2/dss/Makefile +++ b/drivers/video/omap2/dss/Makefile @@ -10,6 +10,6 @@ omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o omapdss-$(CONFIG_OMAP2_DSS_SDI) += sdi.o omapdss-$(CONFIG_OMAP2_DSS_DSI) += dsi.o -omapdss-$(CONFIG_OMAP4_DSS_HDMI) += hdmi.o hdmi_wp.o hdmi_pll.o hdmi_phy.o \ - ti_hdmi_4xxx_ip.o +omapdss-$(CONFIG_OMAP4_DSS_HDMI) += hdmi4.o hdmi_wp.o hdmi_pll.o hdmi_phy.o \ + hdmi4_core.o ccflags-$(CONFIG_OMAP2_DSS_DEBUG) += -DDEBUG diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 60d3958d04f7..ffa45c894cd4 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -266,7 +266,7 @@ static int (*dss_output_drv_reg_funcs[])(void) __initdata = { venc_init_platform_driver, #endif #ifdef CONFIG_OMAP4_DSS_HDMI - hdmi_init_platform_driver, + hdmi4_init_platform_driver, #endif }; @@ -287,7 +287,7 @@ static void (*dss_output_drv_unreg_funcs[])(void) __exitdata = { venc_uninit_platform_driver, #endif #ifdef CONFIG_OMAP4_DSS_HDMI - hdmi_uninit_platform_driver, + hdmi4_uninit_platform_driver, #endif }; diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index e172531d196b..f538e867c0f8 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -427,8 +427,8 @@ int venc_init_platform_driver(void) __init; void venc_uninit_platform_driver(void) __exit; /* HDMI */ -int hdmi_init_platform_driver(void) __init; -void hdmi_uninit_platform_driver(void) __exit; +int hdmi4_init_platform_driver(void) __init; +void hdmi4_uninit_platform_driver(void) __exit; /* RFBI */ int rfbi_init_platform_driver(void) __init; diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c deleted file mode 100644 index f03d6c7530e4..000000000000 --- a/drivers/video/omap2/dss/hdmi.c +++ /dev/null @@ -1,1128 +0,0 @@ -/* - * hdmi.c - * - * HDMI interface DSS driver setting for TI's OMAP4 family of processor. - * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ - * Authors: Yong Zhi - * Mythri pk - * - * 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. - * - * 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 . - */ - -#define DSS_SUBSYS_NAME "HDMI" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include