1 /*
2  *  VT8500/WM8505 Frame Buffer platform data definitions
3  *
4  *  Copyright (C) 2010 Ed Spiridonov <edo.rus@gmail.com>
5  *
6  * This software is licensed under the terms of the GNU General Public
7  * License version 2, as published by the Free Software Foundation, and
8  * may be copied, distributed, and modified under those terms.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15 
16 #ifndef _VT8500FB_H
17 #define _VT8500FB_H
18 
19 #include <linux/fb.h>
20 
21 struct vt8500fb_platform_data {
22 	struct fb_videomode	mode;
23 	u32			xres_virtual;
24 	u32			yres_virtual;
25 	u32			bpp;
26 	unsigned long		video_mem_phys;
27 	void			*video_mem_virt;
28 	unsigned long		video_mem_len;
29 };
30 
31 #endif /* _VT8500FB_H */
32