diff options
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 34 |
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 */ | ||
177 | struct hdmi_pll_info { | ||
178 | u16 regn; | ||
179 | u16 regm; | ||
180 | u32 regmf; | ||
181 | u16 regm2; | ||
182 | u16 regsd; | ||
183 | u16 dcofreq; | ||
184 | }; | ||
185 | |||
176 | struct seq_file; | 186 | struct seq_file; |
177 | struct platform_device; | 187 | struct 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 | ||
459 | int hdmi_init_platform_driver(void); | ||
460 | void hdmi_uninit_platform_driver(void); | ||
461 | int hdmi_init_display(struct omap_dss_device *dssdev); | ||
462 | #else | ||
463 | static inline int hdmi_init_display(struct omap_dss_device *dssdev) | ||
464 | { | ||
465 | return 0; | ||
466 | } | ||
467 | static inline int hdmi_init_platform_driver(void) | ||
468 | { | ||
469 | return 0; | ||
470 | } | ||
471 | static inline void hdmi_uninit_platform_driver(void) | ||
472 | { | ||
473 | } | ||
474 | #endif | ||
475 | int omapdss_hdmi_display_enable(struct omap_dss_device *dssdev); | ||
476 | void omapdss_hdmi_display_disable(struct omap_dss_device *dssdev); | ||
477 | void omapdss_hdmi_display_set_timing(struct omap_dss_device *dssdev); | ||
478 | int 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 |
449 | int rfbi_init_platform_driver(void); | 483 | int rfbi_init_platform_driver(void); |