diff options
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/atmel_lcdc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h index 2fd9fad922e5..ed64862c4e18 100644 --- a/include/video/atmel_lcdc.h +++ b/include/video/atmel_lcdc.h | |||
@@ -22,6 +22,15 @@ | |||
22 | #ifndef __ATMEL_LCDC_H__ | 22 | #ifndef __ATMEL_LCDC_H__ |
23 | #define __ATMEL_LCDC_H__ | 23 | #define __ATMEL_LCDC_H__ |
24 | 24 | ||
25 | |||
26 | /* Way LCD wires are connected to the chip: | ||
27 | * Some Atmel chips use BGR color mode (instead of standard RGB) | ||
28 | * A swapped wiring onboard can bring to RGB mode. | ||
29 | */ | ||
30 | #define ATMEL_LCDC_WIRING_BGR 0 | ||
31 | #define ATMEL_LCDC_WIRING_RGB 1 | ||
32 | |||
33 | |||
25 | /* LCD Controller info data structure, stored in device platform_data */ | 34 | /* LCD Controller info data structure, stored in device platform_data */ |
26 | struct atmel_lcdfb_info { | 35 | struct atmel_lcdfb_info { |
27 | spinlock_t lock; | 36 | spinlock_t lock; |
@@ -42,6 +51,7 @@ struct atmel_lcdfb_info { | |||
42 | u8 saved_lcdcon; | 51 | u8 saved_lcdcon; |
43 | 52 | ||
44 | u8 default_bpp; | 53 | u8 default_bpp; |
54 | u8 lcd_wiring_mode; | ||
45 | unsigned int default_lcdcon2; | 55 | unsigned int default_lcdcon2; |
46 | unsigned int default_dmacon; | 56 | unsigned int default_dmacon; |
47 | void (*atmel_lcdfb_power_control)(int on); | 57 | void (*atmel_lcdfb_power_control)(int on); |