diff options
Diffstat (limited to 'include/video')
| -rw-r--r-- | include/video/omapdss.h | 20 |
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 | ||
| 595 | struct 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 | |||
| 595 | struct omap_dss_device { | 614 | struct 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 */ |
