summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/hdmi.h
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2011-09-08 19:06:20 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-30 16:16:31 +0300
commit38863b7e1d22ca83614cf61ba73bd97a1355524d (patch)
treeb8f26657f37c3c513b42e88d625dd2ee9fd9154f /drivers/video/omap2/dss/hdmi.h
parent7b27da548389cede637653033211369a2c9678f7 (diff)
OMAP4: DSS2: HDMI: Use specific HDMI timings structure
As hdmi has few additional parameters such as vsync and hsync polarity which is missing in DSS timing structure, define HDMI timings structure for hdmi to use instead of OMAP DSS timing structure. Signed-off-by: Mythri P K <mythripk@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/hdmi.h')
-rw-r--r--drivers/video/omap2/dss/hdmi.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/hdmi.h b/drivers/video/omap2/dss/hdmi.h
index d2913f8ee00..02342f6395c 100644
--- a/drivers/video/omap2/dss/hdmi.h
+++ b/drivers/video/omap2/dss/hdmi.h
@@ -198,9 +198,22 @@ struct hdmi_reg { u16 idx; };
#define REG_GET(base, idx, start, end) \
FLD_GET(hdmi_read_reg(base, idx), start, end)
+struct hdmi_video_timings {
+ u16 x_res;
+ u16 y_res;
+ /* Unit: KHz */
+ u32 pixel_clock;
+ u16 hsw;
+ u16 hfp;
+ u16 hbp;
+ u16 vsw;
+ u16 vfp;
+ u16 vbp;
+};
+
/* HDMI timing structure */
struct hdmi_timings {
- struct omap_video_timings timings;
+ struct hdmi_video_timings timings;
int vsync_pol;
int hsync_pol;
};