blob: d1f4dccaeede3294e49076acc2637db4a52b77f5 [file] [log] [blame]
Tomi Valkeinen91773a02009-08-03 15:06:36 +03001/*
2 * File: include/linux/omapfb.h
3 *
4 * Framebuffer driver for TI OMAP boards
5 *
6 * Copyright (C) 2004 Nokia Corporation
7 * Author: Imre Deak <imre.deak@nokia.com>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 */
Tomi Valkeinen91773a02009-08-03 15:06:36 +030023#ifndef __LINUX_OMAPFB_H__
24#define __LINUX_OMAPFB_H__
25
David Howells607ca462012-10-13 10:46:48 +010026#include <uapi/linux/omapfb.h>
Tomi Valkeinen91773a02009-08-03 15:06:36 +030027
Tomi Valkeinen91773a02009-08-03 15:06:36 +030028
Igor Grinbergad6c9102012-08-29 02:18:55 +030029struct omap_lcd_config {
30 char panel_name[16];
31 char ctrl_name[16];
32 s16 nreset_gpio;
33 u8 data_lines;
34};
Tomi Valkeinen91773a02009-08-03 15:06:36 +030035
Tomi Valkeinen91773a02009-08-03 15:06:36 +030036struct omapfb_platform_data {
37 struct omap_lcd_config lcd;
Tomi Valkeinen91773a02009-08-03 15:06:36 +030038};
39
Tomi Valkeinenddba6c72011-09-20 15:23:13 +030040void __init omapfb_set_lcd_config(const struct omap_lcd_config *config);
41
Tomi Valkeinen91773a02009-08-03 15:06:36 +030042#endif /* __OMAPFB_H */