diff options
Diffstat (limited to 'drivers/video/omap2/dss/dss_features.c')
-rw-r--r-- | drivers/video/omap2/dss/dss_features.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c index b63c5f8d9151..86706123a247 100644 --- a/drivers/video/omap2/dss/dss_features.c +++ b/drivers/video/omap2/dss/dss_features.c | |||
@@ -429,6 +429,26 @@ static const struct omap_dss_features omap4_dss_features = { | |||
429 | .burst_size_unit = 16, | 429 | .burst_size_unit = 16, |
430 | }; | 430 | }; |
431 | 431 | ||
432 | #if defined(CONFIG_OMAP4_DSS_HDMI) | ||
433 | /* HDMI OMAP4 Functions*/ | ||
434 | static const struct ti_hdmi_ip_ops omap4_hdmi_functions = { | ||
435 | |||
436 | .video_configure = ti_hdmi_4xxx_basic_configure, | ||
437 | .phy_enable = ti_hdmi_4xxx_phy_enable, | ||
438 | .phy_disable = ti_hdmi_4xxx_phy_disable, | ||
439 | .read_edid = ti_hdmi_4xxx_read_edid, | ||
440 | .pll_enable = ti_hdmi_4xxx_pll_enable, | ||
441 | .pll_disable = ti_hdmi_4xxx_pll_disable, | ||
442 | .video_enable = ti_hdmi_4xxx_wp_video_start, | ||
443 | }; | ||
444 | |||
445 | void dss_init_hdmi_ip_ops(struct hdmi_ip_data *ip_data) | ||
446 | { | ||
447 | if (cpu_is_omap44xx()) | ||
448 | ip_data->ops = &omap4_hdmi_functions; | ||
449 | } | ||
450 | #endif | ||
451 | |||
432 | /* Functions returning values related to a DSS feature */ | 452 | /* Functions returning values related to a DSS feature */ |
433 | int dss_feat_get_num_mgrs(void) | 453 | int dss_feat_get_num_mgrs(void) |
434 | { | 454 | { |