summaryrefslogtreecommitdiff
path: root/include/fb.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-03-13 15:57:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-03-29 07:57:53 +0100
commit939c65332899e8b0c53fbeccc3cfd8d423e7211f (patch)
tree8c74785478a25107cb1144af96be5031ad932711 /include/fb.h
parent386876588642e024101502051625044e4e6f4922 (diff)
downloadbarebox-939c65332899e8b0c53fbeccc3cfd8d423e7211f.tar.gz
video: Add edid support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fb.h')
-rw-r--r--include/fb.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/fb.h b/include/fb.h
index 28e32fccdd..2db6ad6f37 100644
--- a/include/fb.h
+++ b/include/fb.h
@@ -101,12 +101,18 @@ struct display_timings {
struct fb_videomode *modes;
};
+struct i2c_adapter;
+
struct fb_info {
struct fb_videomode *mode;
struct display_timings modes;
int current_mode;
+ void *edid_data;
+ struct i2c_adapter *edid_i2c_adapter;
+ struct display_timings edid_modes;
+
struct fb_ops *fbops;
struct device_d dev; /* This is this fb device */
@@ -150,5 +156,8 @@ extern struct bus_type fb_bus;
int fb_register_simplefb(struct fb_info *info);
-#endif /* __FB_H */
+int edid_to_display_timings(struct display_timings *, unsigned char *edid);
+void *edid_read_i2c(struct i2c_adapter *adapter);
+void fb_edid_add_modes(struct fb_info *info);
+#endif /* __FB_H */