[POWERPC] XilinxFB: Add support for custom screen resolution
[linux-2.6/sactl.git] / include / linux / xilinxfb.h
blob199a1eedf22304ad4b1a7ae1ee82e0ba86731ba1
1 /*
2 * Platform device data for Xilinx Framebuffer device
4 * Copyright 2007 Secret Lab Technologies Ltd.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
11 #ifndef __XILINXFB_H__
12 #define __XILINXFB_H__
14 #include <linux/types.h>
16 /* ML300/403 reference design framebuffer driver platform data struct */
17 struct xilinxfb_platform_data {
18 u32 rotate_screen; /* Flag to rotate display 180 degrees */
19 u32 screen_height_mm; /* Physical dimentions of screen in mm */
20 u32 screen_width_mm;
21 u32 xres, yres; /* resolution of screen in pixels */
22 u32 xvirt, yvirt; /* resolution of memory buffer */
25 #endif /* __XILINXFB_H__ */