aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-24 06:19:30 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 07:01:00 -0400
commit7700c2d4f79c423f29a5c2c10ca5a9b9c8c5c60f (patch)
treed83ef7291c2931d57b4772c46f021166bb2258e7 /include/video
parentb1082dfd610772aff79f55f11a1b73e34f07d31f (diff)
OMAPDSS: DVI: Add ops
Add "ops" style method for using DVI functionality. Ops style calls will allow us to have arbitrarily long display pipelines, where each entity can call ops in the previous display entity. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index c5935a824ec5..3b3903fa1500 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -611,6 +611,23 @@ struct omapdss_sdi_ops {
611 void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs); 611 void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs);
612}; 612};
613 613
614struct omapdss_dvi_ops {
615 int (*connect)(struct omap_dss_device *dssdev,
616 struct omap_dss_device *dst);
617 void (*disconnect)(struct omap_dss_device *dssdev,
618 struct omap_dss_device *dst);
619
620 int (*enable)(struct omap_dss_device *dssdev);
621 void (*disable)(struct omap_dss_device *dssdev);
622
623 int (*check_timings)(struct omap_dss_device *dssdev,
624 struct omap_video_timings *timings);
625 void (*set_timings)(struct omap_dss_device *dssdev,
626 struct omap_video_timings *timings);
627 void (*get_timings)(struct omap_dss_device *dssdev,
628 struct omap_video_timings *timings);
629};
630
614struct omap_dss_device { 631struct omap_dss_device {
615 /* old device, to be removed */ 632 /* old device, to be removed */
616 struct device old_dev; 633 struct device old_dev;
@@ -679,6 +696,7 @@ struct omap_dss_device {
679 union { 696 union {
680 const struct omapdss_dpi_ops *dpi; 697 const struct omapdss_dpi_ops *dpi;
681 const struct omapdss_sdi_ops *sdi; 698 const struct omapdss_sdi_ops *sdi;
699 const struct omapdss_dvi_ops *dvi;
682 } ops; 700 } ops;
683 701
684 /* helper variable for driver suspend/resume */ 702 /* helper variable for driver suspend/resume */