xref: /linux/include/video/of_display_timing.h (revision ffa3fd21de8ab0db7962b612d4c6e17c0d88e9c2)
1 /*
2  * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3  *
4  * display timings of helpers
5  *
6  * This file is released under the GPLv2
7  */
8 
9 #ifndef __LINUX_OF_DISPLAY_TIMING_H
10 #define __LINUX_OF_DISPLAY_TIMING_H
11 
12 struct device_node;
13 struct display_timings;
14 
15 #define OF_USE_NATIVE_MODE -1
16 
17 int of_get_display_timing(struct device_node *np, const char *name,
18 		struct display_timing *dt);
19 struct display_timings *of_get_display_timings(struct device_node *np);
20 int of_display_timings_exist(struct device_node *np);
21 
22 #endif
23