summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2012-03-15 22:00:23 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-04-23 11:48:07 +0400
commit4b6430fc98cfe051eab69f4696a608bba14ebd6c (patch)
tree3af96f2ef29fba9c7942228f6b29971044edfa7a /include/video
parentf3fb3bbc7f71d573be40213af4a90751a81b2379 (diff)
downloadlinux-4b6430fc98cfe051eab69f4696a608bba14ebd6c.tar.xz
OMAPDSS: provide default get_timings function for panels
With this we can eliminate some duplicate code in panel drivers. Also lgphilips-lb035q02, nec-nl8048hl11-01b, picodlp and tpo-td043mtea1 gain support of reading timings over sysfs. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 7aecadbb1d9c..5f36ddd0e295 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -667,6 +667,8 @@ struct omap_overlay *omap_dss_get_overlay(int num);
void omapdss_default_get_resolution(struct omap_dss_device *dssdev,
u16 *xres, u16 *yres);
int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev);
+void omapdss_default_get_timings(struct omap_dss_device *dssdev,
+ struct omap_video_timings *timings);
typedef void (*omap_dispc_isr_t) (void *arg, u32 mask);
int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask);