aboutsummaryrefslogtreecommitdiffstats
path: root/include/video/omapdss.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-24 06:19:14 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 07:00:59 -0400
commitb1082dfd610772aff79f55f11a1b73e34f07d31f (patch)
treeb2e0a39b78f455da0b5aa4d2fcb03029e41793b9 /include/video/omapdss.h
parent0b24edb1c7d5aeadde0e38337b9b86fe16064505 (diff)
OMAPDSS: SDI: Add ops
Add "ops" style method for using SDI 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/omapdss.h')
-rw-r--r--include/video/omapdss.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 71fe1566ce01..c5935a824ec5 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -592,6 +592,25 @@ struct omapdss_dpi_ops {
592 void (*set_data_lines)(struct omap_dss_device *dssdev, int data_lines); 592 void (*set_data_lines)(struct omap_dss_device *dssdev, int data_lines);
593}; 593};
594 594
595struct omapdss_sdi_ops {
596 int (*connect)(struct omap_dss_device *dssdev,
597 struct omap_dss_device *dst);
598 void (*disconnect)(struct omap_dss_device *dssdev,
599 struct omap_dss_device *dst);
600
601 int (*enable)(struct omap_dss_device *dssdev);
602 void (*disable)(struct omap_dss_device *dssdev);
603
604 int (*check_timings)(struct omap_dss_device *dssdev,
605 struct omap_video_timings *timings);
606 void (*set_timings)(struct omap_dss_device *dssdev,
607 struct omap_video_timings *timings);
608 void (*get_timings)(struct omap_dss_device *dssdev,
609 struct omap_video_timings *timings);
610
611 void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs);
612};
613
595struct omap_dss_device { 614struct omap_dss_device {
596 /* old device, to be removed */ 615 /* old device, to be removed */
597 struct device old_dev; 616 struct device old_dev;
@@ -659,6 +678,7 @@ struct omap_dss_device {
659 678
660 union { 679 union {
661 const struct omapdss_dpi_ops *dpi; 680 const struct omapdss_dpi_ops *dpi;
681 const struct omapdss_sdi_ops *sdi;
662 } ops; 682 } ops;
663 683
664 /* helper variable for driver suspend/resume */ 684 /* helper variable for driver suspend/resume */