Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
jz4740_fb.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009, Lars-Peter Clausen <[email protected]>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the
6  * Free Software Foundation; either version 2 of the License, or (at your
7  * option) any later version.
8  *
9  * You should have received a copy of the GNU General Public License along
10  * with this program; if not, write to the Free Software Foundation, Inc.,
11  * 675 Mass Ave, Cambridge, MA 02139, USA.
12  *
13  */
14 
15 #ifndef __ASM_MACH_JZ4740_JZ4740_FB_H__
16 #define __ASM_MACH_JZ4740_JZ4740_FB_H__
17 
18 #include <linux/fb.h>
19 
33 };
34 
35 #define JZ4740_FB_SPECIAL_TFT_CONFIG(start, stop) (((start) << 16) | (stop))
36 
37 /*
38 * width: width of the lcd display in mm
39 * height: height of the lcd display in mm
40 * num_modes: size of modes
41 * modes: list of valid video modes
42 * bpp: bits per pixel for the lcd
43 * lcd_type: lcd type
44 */
45 
47  unsigned int width;
48  unsigned int height;
49 
50  size_t num_modes;
52 
53  unsigned int bpp;
55 
56  struct {
62 
63  unsigned pixclk_falling_edge:1;
65 };
66 
67 #endif