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
12 #include <linux/errno.h>
15 struct display_timing;
16 struct display_timings;
18 #define OF_USE_NATIVE_MODE -1
21 int of_get_display_timing(const struct device_node *np, const char *name,
22 struct display_timing *dt);
23 struct display_timings *of_get_display_timings(const struct device_node *np);
24 int of_display_timings_exist(const struct device_node *np);
26 static inline int of_get_display_timing(const struct device_node *np,
27 const char *name, struct display_timing *dt)
31 static inline struct display_timings *
32 of_get_display_timings(const struct device_node *np)
36 static inline int of_display_timings_exist(const struct device_node *np)