aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index ab20270d761..91ed3fa8e60 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -173,6 +173,16 @@ struct dsi_clock_info {
173 bool use_sys_clk; 173 bool use_sys_clk;
174}; 174};
175 175
176/* HDMI PLL structure */
177struct hdmi_pll_info {
178 u16 regn;
179 u16 regm;
180 u32 regmf;
181 u16 regm2;
182 u16 regsd;
183 u16 dcofreq;
184};
185
176struct seq_file; 186struct seq_file;
177struct platform_device; 187struct platform_device;
178 188
@@ -444,6 +454,30 @@ static inline void venc_uninit_platform_driver(void)
444} 454}
445#endif 455#endif
446 456
457/* HDMI */
458#ifdef CONFIG_OMAP4_DSS_HDMI
459int hdmi_init_platform_driver(void);
460void hdmi_uninit_platform_driver(void);
461int hdmi_init_display(struct omap_dss_device *dssdev);
462#else
463static inline int hdmi_init_display(struct omap_dss_device *dssdev)
464{
465 return 0;
466}
467static inline int hdmi_init_platform_driver(void)
468{
469 return 0;
470}
471static inline void hdmi_uninit_platform_driver(void)
472{
473}
474#endif
475int omapdss_hdmi_display_enable(struct omap_dss_device *dssdev);
476void omapdss_hdmi_display_disable(struct omap_dss_device *dssdev);
477void omapdss_hdmi_display_set_timing(struct omap_dss_device *dssdev);
478int omapdss_hdmi_display_check_timing(struct omap_dss_device *dssdev,
479 struct omap_video_timings *timings);
480
447/* RFBI */ 481/* RFBI */
448#ifdef CONFIG_OMAP2_DSS_RFBI 482#ifdef CONFIG_OMAP2_DSS_RFBI
449int rfbi_init_platform_driver(void); 483int rfbi_init_platform_driver(void);