Commit 7d983f39 authored by Mythri P K's avatar Mythri P K Committed by Tomi Valkeinen

OMAP4: DSS2: HDMI: Split the current HDMI driver to move

Split the current HDMI driver to move the HDMI IP dependent ( PLL/PHY/Core
configuration code) to a new IP file (ti_hdmi_4xxx_ip.c.
This is to separate IP dependent OMAP agnostic code from OMAP specific DSS
dependent code.
Signed-off-by: default avatarMythri P K <mythripk@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 7c1f1eca
...@@ -6,4 +6,4 @@ omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o ...@@ -6,4 +6,4 @@ omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o
omapdss-$(CONFIG_OMAP2_DSS_SDI) += sdi.o omapdss-$(CONFIG_OMAP2_DSS_SDI) += sdi.o
omapdss-$(CONFIG_OMAP2_DSS_DSI) += dsi.o omapdss-$(CONFIG_OMAP2_DSS_DSI) += dsi.o
omapdss-$(CONFIG_OMAP4_DSS_HDMI) += hdmi.o \ omapdss-$(CONFIG_OMAP4_DSS_HDMI) += hdmi.o \
hdmi_omap4_panel.o hdmi_omap4_panel.o ti_hdmi_4xxx_ip.o
This diff is collapsed.
...@@ -91,4 +91,11 @@ struct hdmi_ip_data { ...@@ -91,4 +91,11 @@ struct hdmi_ip_data {
struct hdmi_config cfg; struct hdmi_config cfg;
struct hdmi_pll_info pll_data; struct hdmi_pll_info pll_data;
}; };
int hdmi_phy_init(struct hdmi_ip_data *ip_data);
void hdmi_phy_off(struct hdmi_ip_data *ip_data);
int read_edid(struct hdmi_ip_data *ip_data, u8 *pedid, u16 max_length);
void hdmi_wp_video_start(struct hdmi_ip_data *ip_data, bool start);
int hdmi_pll_program(struct hdmi_ip_data *ip_data);
int hdmi_set_pll_pwr(struct hdmi_ip_data *ip_data, enum hdmi_pll_pwr val);
void hdmi_basic_configure(struct hdmi_ip_data *ip_data);
#endif #endif
This diff is collapsed.
/* /*
* hdmi.h * ti_hdmi_4xxx_ip.h
* *
* HDMI driver definition for TI OMAP4 processors. * HDMI header definition for DM81xx, DM38xx, TI OMAP4 etc processors.
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
* *
...@@ -18,11 +18,12 @@ ...@@ -18,11 +18,12 @@
* this program. If not, see <http://www.gnu.org/licenses/>. * this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef _OMAP4_DSS_HDMI_H_ #ifndef _HDMI_TI_4xxx_H_
#define _OMAP4_DSS_HDMI_H_ #define _HDMI_TI_4xxx_H_
#include <linux/string.h> #include <linux/string.h>
#include <video/omapdss.h> #include <video/omapdss.h>
#include "ti_hdmi.h"
struct hdmi_reg { u16 idx; }; struct hdmi_reg { u16 idx; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment