summaryrefslogtreecommitdiffstats
path: root/include/video/omapdss.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-12-03 09:57:40 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-19 05:03:06 -0400
commit4e7470ddca671aee2f5d11ba68573c94feddc5c2 (patch)
tree53f266284e095985c4b04a5e2d0d943748113091 /include/video/omapdss.h
parenta6ec216493da705a5f6fc96098c5f4af10e2be44 (diff)
OMAPDSS: add of helpers
Add helpers to get ports and endpoints from DT data. These helpers parse v4l2 style ports and endpoints, but compared to the v4l2 helpers, these allow iterating ports and endpoints separately. This is a temporary solution until we get generic code to parse the ports and endpoints. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r--include/video/omapdss.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 3d7c51a6f9ff..e3cd2a921c2f 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -1019,4 +1019,18 @@ static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev)
1019 return dssdev->state == OMAP_DSS_DISPLAY_ACTIVE; 1019 return dssdev->state == OMAP_DSS_DISPLAY_ACTIVE;
1020} 1020}
1021 1021
1022struct device_node *
1023omapdss_of_get_next_port(const struct device_node *parent,
1024 struct device_node *prev);
1025
1026struct device_node *
1027omapdss_of_get_next_endpoint(const struct device_node *parent,
1028 struct device_node *prev);
1029
1030struct device_node *
1031omapdss_of_get_first_endpoint(const struct device_node *parent);
1032
1033struct omap_dss_device *
1034omapdss_of_find_source_for_first_ep(struct device_node *node);
1035
1022#endif 1036#endif