blob: 79e6697af6cff177712d619e0c4ac7102bff009b [file] [log] [blame]
Steffen Trumtrarcc3f4142012-10-04 15:32:52 +02001/*
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
12struct device_node;
Fabio Estevamd22cd302013-06-26 10:34:25 -030013struct display_timing;
Steffen Trumtrarcc3f4142012-10-04 15:32:52 +020014struct display_timings;
15
16#define OF_USE_NATIVE_MODE -1
17
Tomi Valkeinenffa3fd22013-05-16 15:36:38 +030018int of_get_display_timing(struct device_node *np, const char *name,
19 struct display_timing *dt);
Steffen Trumtrarcc3f4142012-10-04 15:32:52 +020020struct display_timings *of_get_display_timings(struct device_node *np);
21int of_display_timings_exist(struct device_node *np);
22
23#endif