diff options
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index ac2e4cca5a23..e202648166d2 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -208,6 +208,16 @@ enum omap_hdmi_flags { | |||
208 | OMAP_HDMI_SDA_SCL_EXTERNAL_PULLUP = 1 << 0, | 208 | OMAP_HDMI_SDA_SCL_EXTERNAL_PULLUP = 1 << 0, |
209 | }; | 209 | }; |
210 | 210 | ||
211 | enum omap_dss_output_id { | ||
212 | OMAP_DSS_OUTPUT_DPI = 1 << 0, | ||
213 | OMAP_DSS_OUTPUT_DBI = 1 << 1, | ||
214 | OMAP_DSS_OUTPUT_SDI = 1 << 2, | ||
215 | OMAP_DSS_OUTPUT_DSI1 = 1 << 3, | ||
216 | OMAP_DSS_OUTPUT_DSI2 = 1 << 4, | ||
217 | OMAP_DSS_OUTPUT_VENC = 1 << 5, | ||
218 | OMAP_DSS_OUTPUT_HDMI = 1 << 6, | ||
219 | }; | ||
220 | |||
211 | /* RFBI */ | 221 | /* RFBI */ |
212 | 222 | ||
213 | struct rfbi_timings { | 223 | struct rfbi_timings { |
@@ -493,6 +503,24 @@ struct omap_dsi_pin_config { | |||
493 | int pins[OMAP_DSS_MAX_DSI_PINS]; | 503 | int pins[OMAP_DSS_MAX_DSI_PINS]; |
494 | }; | 504 | }; |
495 | 505 | ||
506 | struct omap_dss_output { | ||
507 | struct list_head list; | ||
508 | |||
509 | /* display type supported by the output */ | ||
510 | enum omap_display_type type; | ||
511 | |||
512 | /* output instance */ | ||
513 | enum omap_dss_output_id id; | ||
514 | |||
515 | /* output's platform device pointer */ | ||
516 | struct platform_device *pdev; | ||
517 | |||
518 | /* dynamic fields */ | ||
519 | struct omap_overlay_manager *manager; | ||
520 | |||
521 | struct omap_dss_device *device; | ||
522 | }; | ||
523 | |||
496 | struct omap_dss_device { | 524 | struct omap_dss_device { |
497 | struct device dev; | 525 | struct device dev; |
498 | 526 | ||
@@ -702,6 +730,8 @@ struct omap_overlay_manager *omap_dss_get_overlay_manager(int num); | |||
702 | int omap_dss_get_num_overlays(void); | 730 | int omap_dss_get_num_overlays(void); |
703 | struct omap_overlay *omap_dss_get_overlay(int num); | 731 | struct omap_overlay *omap_dss_get_overlay(int num); |
704 | 732 | ||
733 | struct omap_dss_output *omap_dss_get_output(enum omap_dss_output_id id); | ||
734 | |||
705 | void omapdss_default_get_resolution(struct omap_dss_device *dssdev, | 735 | void omapdss_default_get_resolution(struct omap_dss_device *dssdev, |
706 | u16 *xres, u16 *yres); | 736 | u16 *xres, u16 *yres); |
707 | int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev); | 737 | int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev); |