ARM: rockchip: rk3228: add grf definition
[firefly-linux-kernel-4.4.55.git] / include / linux / omapfb.h
1 /*
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  */
23 #ifndef __LINUX_OMAPFB_H__
24 #define __LINUX_OMAPFB_H__
25
26 #include <uapi/linux/omapfb.h>
27
28
29 struct omap_lcd_config {
30         char panel_name[16];
31         char ctrl_name[16];
32         s16  nreset_gpio;
33         u8   data_lines;
34 };
35
36 struct omapfb_platform_data {
37         struct omap_lcd_config          lcd;
38 };
39
40 void __init omapfb_set_lcd_config(const struct omap_lcd_config *config);
41
42 #endif /* __OMAPFB_H */