diff options
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r-- | include/video/omapdss.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 13eec485e5b..aadbd2a733e 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -336,6 +336,8 @@ struct omap_dss_board_info { | |||
336 | enum omapdss_version version; | 336 | enum omapdss_version version; |
337 | }; | 337 | }; |
338 | 338 | ||
339 | typedef irqreturn_t (*dss_hdmi_hpd_cb)(int irq, void *data); | ||
340 | |||
339 | /* Init with the board info */ | 341 | /* Init with the board info */ |
340 | extern int omap_display_init(struct omap_dss_board_info *board_data); | 342 | extern int omap_display_init(struct omap_dss_board_info *board_data); |
341 | /* HDMI mux init*/ | 343 | /* HDMI mux init*/ |
@@ -636,6 +638,9 @@ struct omapdss_hdmi_ops { | |||
636 | int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode); | 638 | int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode); |
637 | int (*set_infoframe)(struct omap_dss_device *dssdev, | 639 | int (*set_infoframe)(struct omap_dss_device *dssdev, |
638 | const struct hdmi_avi_infoframe *avi); | 640 | const struct hdmi_avi_infoframe *avi); |
641 | int (*register_hpd_callback)(struct omap_dss_device *dssdev, | ||
642 | dss_hdmi_hpd_cb func, | ||
643 | void *data); | ||
639 | }; | 644 | }; |
640 | 645 | ||
641 | struct omapdss_dsi_ops { | 646 | struct omapdss_dsi_ops { |
@@ -849,6 +854,9 @@ struct omap_dss_driver { | |||
849 | int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode); | 854 | int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode); |
850 | int (*set_hdmi_infoframe)(struct omap_dss_device *dssdev, | 855 | int (*set_hdmi_infoframe)(struct omap_dss_device *dssdev, |
851 | const struct hdmi_avi_infoframe *avi); | 856 | const struct hdmi_avi_infoframe *avi); |
857 | int (*register_hpd_callback)(struct omap_dss_device *dssdev, | ||
858 | dss_hdmi_hpd_cb func, | ||
859 | void *data); | ||
852 | }; | 860 | }; |
853 | 861 | ||
854 | enum omapdss_version omapdss_get_version(void); | 862 | enum omapdss_version omapdss_get_version(void); |