spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / mach-vt8500 / include / mach / vt8500fb.h
blob7f399c370fe08612dccd20893f93dde7739145d0
1 /*
2 * VT8500/WM8505 Frame Buffer platform data definitions
4 * Copyright (C) 2010 Ed Spiridonov <edo.rus@gmail.com>
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.
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.
16 #ifndef _VT8500FB_H
17 #define _VT8500FB_H
19 #include <linux/fb.h>
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;
31 #endif /* _VT8500FB_H */