summaryrefslogtreecommitdiff
path: root/include/video/omapdss.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-24 13:19:30 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 14:01:00 +0300
commit7700c2d4f79c423f29a5c2c10ca5a9b9c8c5c60f (patch)
treed83ef7291c2931d57b4772c46f021166bb2258e7 /include/video/omapdss.h
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/omapdss.h')
-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 {
void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs);
};
+struct omapdss_dvi_ops {
+ int (*connect)(struct omap_dss_device *dssdev,
+ struct omap_dss_device *dst);
+ void (*disconnect)(struct omap_dss_device *dssdev,
+ struct omap_dss_device *dst);
+
+ int (*enable)(struct omap_dss_device *dssdev);
+ void (*disable)(struct omap_dss_device *dssdev);
+
+ int (*check_timings)(struct omap_dss_device *dssdev,
+ struct omap_video_timings *timings);
+ void (*set_timings)(struct omap_dss_device *dssdev,
+ struct omap_video_timings *timings);
+ void (*get_timings)(struct omap_dss_device *dssdev,
+ struct omap_video_timings *timings);
+};
+
struct omap_dss_device {
/* old device, to be removed */
struct device old_dev;
@@ -679,6 +696,7 @@ struct omap_dss_device {
union {
const struct omapdss_dpi_ops *dpi;
const struct omapdss_sdi_ops *sdi;
+ const struct omapdss_dvi_ops *dvi;
} ops;
/* helper variable for driver suspend/resume */