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
venc_init_platform_driver,
#endif
#ifdef CONFIG_OMAP4_DSS_HDMI
- hdmi_init_platform_driver,
+ hdmi4_init_platform_driver,
#endif
};
venc_uninit_platform_driver,
#endif
#ifdef CONFIG_OMAP4_DSS_HDMI
- hdmi_uninit_platform_driver,
+ hdmi4_uninit_platform_driver,
#endif
};
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;
/*
- * 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/
*
* 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>
/*
- * 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>
#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"
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;
struct hdmi_cm cm;
cm = hdmi_get_code(timings);
- if (cm.code == -1) {
+ if (cm.code == -1)
return -EINVAL;
- }
return 0;
},
};
-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);
}
#include <sound/asoundef.h>
#endif
-#include "ti_hdmi_4xxx_ip.h"
+#include "hdmi4_core.h"
#include "dss_features.h"
#define HDMI_CORE_AV 0x500
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;
/*
- * 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 */
#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)
{
#include <video/omapdss.h>
#include "dss.h"
-#include "ti_hdmi.h"
+#include "hdmi.h"
#define HDMI_DEFAULT_REGN 16
#define HDMI_DEFAULT_REGM2 1
#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)
{