summaryrefslogtreecommitdiff
path: root/target/linux/xburst/files-2.6.32/include
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-05 02:48:55 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-05 02:48:55 +0000
commit38b776b7100b2c82f73065b8189b0f95867401f1 (patch)
treeaefe199d55248077b73ad97e45ac47cf4046b1c6 /target/linux/xburst/files-2.6.32/include
parent831fd20927030b3c2d29f5ff4d90644e9b5b1890 (diff)
[xburst] jz4740_fb: Add support for parallel displays, improve power consumption
and some minor bugfixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19982 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/files-2.6.32/include')
-rw-r--r--target/linux/xburst/files-2.6.32/include/linux/jz4740_fb.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/target/linux/xburst/files-2.6.32/include/linux/jz4740_fb.h b/target/linux/xburst/files-2.6.32/include/linux/jz4740_fb.h
index b3aafdfabf..ab4c963e1c 100644
--- a/target/linux/xburst/files-2.6.32/include/linux/jz4740_fb.h
+++ b/target/linux/xburst/files-2.6.32/include/linux/jz4740_fb.h
@@ -18,7 +18,8 @@
#include <linux/fb.h>
enum jz4740_fb_lcd_type {
- JZ_LCD_TYPE_GENERIC_16_18_BIT = 0,
+ JZ_LCD_TYPE_GENERIC_16_BIT = 0,
+ JZ_LCD_TYPE_GENERIC_18_BIT = 0 | (1 << 4),
JZ_LCD_TYPE_SPECIAL_TFT_1 = 1,
JZ_LCD_TYPE_SPECIAL_TFT_2 = 2,
JZ_LCD_TYPE_SPECIAL_TFT_3 = 3,
@@ -27,7 +28,8 @@ enum jz4740_fb_lcd_type {
JZ_LCD_TYPE_SINGLE_COLOR_STN = 8,
JZ_LCD_TYPE_SINGLE_MONOCHROME_STN = 9,
JZ_LCD_TYPE_DUAL_COLOR_STN = 10,
- JZ_LCD_TYPE_8BIT_SERIAL = 11,
+ JZ_LCD_TYPE_DUAL_MONOCHROME_STN = 11,
+ JZ_LCD_TYPE_8BIT_SERIAL = 12,
};
/*
@@ -45,8 +47,12 @@ struct jz4740_fb_platform_data {
size_t num_modes;
struct fb_videomode *modes;
- int bpp;
- enum jz4740_fb_lcd_type lcd_type;
+
+ unsigned int bpp;
+ enum jz4740_fb_lcd_type lcd_type;
+
+ unsigned pixclk_falling_edge:1;
+ unsigned date_enable_active_low:1;
};
#endif