From 38b776b7100b2c82f73065b8189b0f95867401f1 Mon Sep 17 00:00:00 2001 From: lars Date: Fri, 5 Mar 2010 02:48:55 +0000 Subject: [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 --- target/linux/xburst/files-2.6.32/include/linux/jz4740_fb.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'target/linux/xburst/files-2.6.32/include') 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 b3aafdfab..ab4c963e1 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 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 -- cgit v1.2.3