2 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
4 * display timings of helpers
6 * This file is released under the GPLv2
9 #ifndef __LINUX_OF_DISPLAY_TIMING_H
10 #define __LINUX_OF_DISPLAY_TIMING_H
13 struct display_timing
;
14 struct display_timings
;
16 #define OF_USE_NATIVE_MODE -1
19 int of_get_display_timing(struct device_node
*np
, const char *name
,
20 struct display_timing
*dt
);
21 struct display_timings
*of_get_display_timings(struct device_node
*np
);
22 int of_display_timings_exist(struct device_node
*np
);
24 static inline int of_get_display_timing(struct device_node
*np
, const char *name
,
25 struct display_timing
*dt
)
29 static inline struct display_timings
*of_get_display_timings(struct device_node
*np
)
33 static inline int of_display_timings_exist(struct device_node
*np
)