Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 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 | */ |
Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 23 | #ifndef __LINUX_OMAPFB_H__ |
| 24 | #define __LINUX_OMAPFB_H__ |
| 25 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 26 | #include <uapi/linux/omapfb.h> |
Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 27 | |
Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 28 | |
Igor Grinberg | ad6c910 | 2012-08-29 02:18:55 +0300 | [diff] [blame] | 29 | struct omap_lcd_config { |
| 30 | char panel_name[16]; |
| 31 | char ctrl_name[16]; |
| 32 | s16 nreset_gpio; |
| 33 | u8 data_lines; |
| 34 | }; |
Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 35 | |
Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 36 | struct omapfb_platform_data { |
| 37 | struct omap_lcd_config lcd; |
Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 38 | }; |
| 39 | |
Tomi Valkeinen | ddba6c7 | 2011-09-20 15:23:13 +0300 | [diff] [blame] | 40 | void __init omapfb_set_lcd_config(const struct omap_lcd_config *config); |
| 41 | |
Tomi Valkeinen | 91773a0 | 2009-08-03 15:06:36 +0300 | [diff] [blame] | 42 | #endif /* __OMAPFB_H */ |