]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
omapdss: HDMI: Rename hdmi driver files to nicer names
authorArchit Taneja <archit@ti.com>
Thu, 12 Sep 2013 12:15:57 +0000 (17:45 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 Oct 2013 09:42:30 +0000 (12:42 +0300)
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 <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/Makefile
drivers/video/omap2/dss/core.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/hdmi.h [moved from drivers/video/omap2/dss/ti_hdmi.h with 98% similarity]
drivers/video/omap2/dss/hdmi4.c [moved from drivers/video/omap2/dss/hdmi.c with 98% similarity]
drivers/video/omap2/dss/hdmi4_core.c [moved from drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c with 99% similarity]
drivers/video/omap2/dss/hdmi4_core.h [moved from drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h with 98% similarity]
drivers/video/omap2/dss/hdmi_phy.c
drivers/video/omap2/dss/hdmi_pll.c
drivers/video/omap2/dss/hdmi_wp.c

index d88e93870e155df2bc4f2eb42c36eff101d1e2dd..f87ca3216a1fb96dc781533b634a19bf8bc731c7 100644 (file)
@@ -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
index 60d3958d04f7b0274b5198907bd0277d9de94e71..ffa45c894cd433820191c74c08b4c2d1b96bffcd 100644 (file)
@@ -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
 };
 
index e172531d196bd2f09320af18797560f3bf606d4e..f538e867c0f8c707c596e8a014ff4688ca67b930 100644 (file)
@@ -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;
similarity index 98%
rename from drivers/video/omap2/dss/ti_hdmi.h
rename to drivers/video/omap2/dss/hdmi.h
index 5034080ccfa919c360752836b482f5dcec8f74eb..b92d981063dc52707b5a0da632f8459a1e50a89a 100644 (file)
@@ -1,7 +1,5 @@
 /*
- * ti_hdmi.h
- *
- * HDMI driver definition for TI OMAP4, DM81xx, DM38xx  Processor.
+ * HDMI driver definition for TI OMAP4 Processor.
  *
  * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
  *
@@ -18,8 +16,8 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef _TI_HDMI_H
-#define _TI_HDMI_H
+#ifndef _HDMI_H
+#define _HDMI_H
 
 #include <linux/delay.h>
 #include <linux/io.h>
similarity index 98%
rename from drivers/video/omap2/dss/hdmi.c
rename to drivers/video/omap2/dss/hdmi4.c
index f03d6c7530e44d0348cca22673e49040e95901e5..324ecd00e4da88e92bf9ceb144bddb2db17fdb40 100644 (file)
@@ -1,7 +1,5 @@
 /*
- * hdmi.c
- *
- * HDMI interface DSS driver setting for TI's OMAP4 family of processor.
+ * HDMI interface DSS driver for TI's OMAP4 family of SoCs.
  * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
  * Authors: Yong Zhi
  *     Mythri pk <mythripk@ti.com>
@@ -36,8 +34,7 @@
 #include <linux/regulator/consumer.h>
 #include <video/omapdss.h>
 
-#include "ti_hdmi.h"
-#include "ti_hdmi_4xxx_ip.h"
+#include "hdmi4_core.h"
 #include "dss.h"
 #include "dss_features.h"
 
@@ -361,8 +358,8 @@ static const struct hdmi_config *hdmi_find_timing(
 
 static const struct hdmi_config *hdmi_get_timings(void)
 {
-       const struct hdmi_config *arr;
-       int len;
+       const struct hdmi_config *arr;
+       int len;
 
        if (hdmi.cfg.cm.mode == HDMI_DVI) {
                arr = vesa_timings;
@@ -543,9 +540,8 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
        struct hdmi_cm cm;
 
        cm = hdmi_get_code(timings);
-       if (cm.code == -1) {
+       if (cm.code == -1)
                return -EINVAL;
-       }
 
        return 0;
 
@@ -1117,12 +1113,12 @@ static struct platform_driver omapdss_hdmihw_driver = {
        },
 };
 
-int __init hdmi_init_platform_driver(void)
+int __init hdmi4_init_platform_driver(void)
 {
        return platform_driver_register(&omapdss_hdmihw_driver);
 }
 
-void __exit hdmi_uninit_platform_driver(void)
+void __exit hdmi4_uninit_platform_driver(void)
 {
        platform_driver_unregister(&omapdss_hdmihw_driver);
 }
similarity index 99%
rename from drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
rename to drivers/video/omap2/dss/hdmi4_core.c
index 93a99fd080af2c82737595d06f7b6793f112d7fc..3f7fc572be103ce62e27eb7b5c9100960f7f5b7b 100644 (file)
@@ -34,7 +34,7 @@
 #include <sound/asoundef.h>
 #endif
 
-#include "ti_hdmi_4xxx_ip.h"
+#include "hdmi4_core.h"
 #include "dss_features.h"
 
 #define HDMI_CORE_AV           0x500
@@ -223,7 +223,7 @@ static void hdmi_core_init(struct hdmi_core_video_config *video_cfg,
        avi_cfg->db3_nup_scaling = 0;
        avi_cfg->db4_videocode = 0;
        avi_cfg->db5_pixel_repeat = 0;
-       avi_cfg->db6_7_line_eoftop = 0 ;
+       avi_cfg->db6_7_line_eoftop = 0;
        avi_cfg->db8_9_line_sofbottom = 0;
        avi_cfg->db10_11_pixel_eofleft = 0;
        avi_cfg->db12_13_pixel_sofright = 0;
similarity index 98%
rename from drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
rename to drivers/video/omap2/dss/hdmi4_core.h
index 78319ff0b2278b41ec4abd103e75cfadf0fc2c8b..1181b4c1a0688f923dedb846de05980ba92e7c69 100644 (file)
@@ -1,7 +1,5 @@
 /*
- * ti_hdmi_4xxx_ip.h
- *
- * HDMI header definition for DM81xx, DM38xx, TI OMAP4 etc processors.
+ * HDMI header definition for OMAP4 HDMI core IP
  *
  * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
  *
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef _HDMI_TI_4xxx_H_
-#define _HDMI_TI_4xxx_H_
+#ifndef _HDMI4_CORE_H_
+#define _HDMI4_CORE_H_
 
-#include "ti_hdmi.h"
+#include "hdmi.h"
 
 /* OMAP4 HDMI IP Core System */
 
index 16feaa80b3b42ac012fc7acf1205cbcfffbf8516..45acb997ac0021336c6d72c74e9e53dd57409e55 100644 (file)
@@ -15,7 +15,7 @@
 #include <video/omapdss.h>
 
 #include "dss.h"
-#include "ti_hdmi.h"
+#include "hdmi.h"
 
 void hdmi_phy_dump(struct hdmi_phy_data *phy, struct seq_file *s)
 {
index 6e187e63daae1911f1108db6f8a123677b4b02e3..d3e6e78c00820d85b4476cae73c3df25be81033d 100644 (file)
@@ -16,7 +16,7 @@
 #include <video/omapdss.h>
 
 #include "dss.h"
-#include "ti_hdmi.h"
+#include "hdmi.h"
 
 #define HDMI_DEFAULT_REGN 16
 #define HDMI_DEFAULT_REGM2 1
index 93039ea970f0ca9b636c1ed0624c3863ff55998f..8151d8969a6eb560dfa0aec0ed4cb094190d1369 100644 (file)
@@ -15,7 +15,7 @@
 #include <video/omapdss.h>
 
 #include "dss.h"
-#include "ti_hdmi.h"
+#include "hdmi.h"
 
 void hdmi_wp_dump(struct hdmi_wp_data *wp, struct seq_file *s)
 {