Robin Getz | 96f1050 | 2009-09-24 14:11:24 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * |
| 4 | * Licensed under the GPL-2 or later. |
| 5 | */ |
| 6 | |
Michael Hennerich | e9fa7c4 | 2007-10-16 01:29:38 -0700 | [diff] [blame] | 7 | #ifndef BF54X_LQ043_H |
| 8 | #define BF54X_LQ043_H |
| 9 | |
| 10 | struct bfin_bf54xfb_val { |
| 11 | unsigned int defval; |
| 12 | unsigned int min; |
| 13 | unsigned int max; |
| 14 | }; |
| 15 | |
| 16 | struct bfin_bf54xfb_mach_info { |
| 17 | unsigned char fixed_syncs; /* do not update sync/border */ |
| 18 | |
| 19 | /* LCD types */ |
| 20 | int type; |
| 21 | |
| 22 | /* Screen size */ |
| 23 | int width; |
| 24 | int height; |
| 25 | |
| 26 | /* Screen info */ |
| 27 | struct bfin_bf54xfb_val xres; |
| 28 | struct bfin_bf54xfb_val yres; |
| 29 | struct bfin_bf54xfb_val bpp; |
| 30 | |
| 31 | /* GPIOs */ |
| 32 | unsigned short disp; |
| 33 | |
| 34 | }; |
| 35 | |
| 36 | #endif /* BF54X_LQ043_H */ |