summaryrefslogtreecommitdiff
path: root/include/display.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-03-15 08:01:17 -0400
committerTom Rini <trini@konsulko.com>2016-03-15 08:01:17 -0400
commit4d339a9e8a758889de5da16b562aff5601bb3d8d (patch)
tree1c1ac403b33a156efbd8f42c8970d771a6ce8f5c /include/display.h
parente6de55ec5bf306df3b3cc8e7a4cc17fa1e78ca6c (diff)
parent00b1d2d3178747c113dd8f939cf3e2d449bfaf54 (diff)
downloadu-boot-imx-4d339a9e8a758889de5da16b562aff5601bb3d8d.zip
u-boot-imx-4d339a9e8a758889de5da16b562aff5601bb3d8d.tar.gz
u-boot-imx-4d339a9e8a758889de5da16b562aff5601bb3d8d.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-video
Diffstat (limited to 'include/display.h')
-rw-r--r--include/display.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/display.h b/include/display.h
index c180e76..b1c4766 100644
--- a/include/display.h
+++ b/include/display.h
@@ -23,7 +23,7 @@ struct display_plat {
};
/**
- * display_read_timing() - Read timing information from EDID
+ * display_read_timing() - Read timing information
*
* @dev: Device to read from
* @return 0 if OK, -ve on error
@@ -43,6 +43,15 @@ int display_enable(struct udevice *dev, int panel_bpp,
struct dm_display_ops {
/**
+ * read_timing() - Read information directly
+ *
+ * @dev: Device to read from
+ * @timing: Display timings
+ * @return 0 if OK, -ve on error
+ */
+ int (*read_timing)(struct udevice *dev, struct display_timing *timing);
+
+ /**
* read_edid() - Read information from EDID
*
* @dev: Device to read from