Go to the documentation of this file.
16 #include <mach/regs-lcd.h>
33 #define LCD_CONN_TYPE(_x) ((_x) & 0x0f)
34 #define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f)
36 #define LCD_TYPE_MASK 0xf
37 #define LCD_TYPE_UNKNOWN 0
38 #define LCD_TYPE_MONO_STN 1
39 #define LCD_TYPE_MONO_DSTN 2
40 #define LCD_TYPE_COLOR_STN 3
41 #define LCD_TYPE_COLOR_DSTN 4
42 #define LCD_TYPE_COLOR_TFT 5
43 #define LCD_TYPE_SMART_PANEL 6
44 #define LCD_TYPE_MAX 7
46 #define LCD_MONO_STN_4BPP ((4 << 4) | LCD_TYPE_MONO_STN)
47 #define LCD_MONO_STN_8BPP ((8 << 4) | LCD_TYPE_MONO_STN)
48 #define LCD_MONO_DSTN_8BPP ((8 << 4) | LCD_TYPE_MONO_DSTN)
49 #define LCD_COLOR_STN_8BPP ((8 << 4) | LCD_TYPE_COLOR_STN)
50 #define LCD_COLOR_DSTN_16BPP ((16 << 4) | LCD_TYPE_COLOR_DSTN)
51 #define LCD_COLOR_TFT_8BPP ((8 << 4) | LCD_TYPE_COLOR_TFT)
52 #define LCD_COLOR_TFT_16BPP ((16 << 4) | LCD_TYPE_COLOR_TFT)
53 #define LCD_COLOR_TFT_18BPP ((18 << 4) | LCD_TYPE_COLOR_TFT)
54 #define LCD_SMART_PANEL_8BPP ((8 << 4) | LCD_TYPE_SMART_PANEL)
55 #define LCD_SMART_PANEL_16BPP ((16 << 4) | LCD_TYPE_SMART_PANEL)
56 #define LCD_SMART_PANEL_18BPP ((18 << 4) | LCD_TYPE_SMART_PANEL)
58 #define LCD_AC_BIAS_FREQ(x) (((x) & 0xff) << 10)
59 #define LCD_BIAS_ACTIVE_HIGH (0 << 18)
60 #define LCD_BIAS_ACTIVE_LOW (1 << 18)
61 #define LCD_PCLK_EDGE_RISE (0 << 19)
62 #define LCD_PCLK_EDGE_FALL (1 << 19)
63 #define LCD_ALTERNATE_MAPPING (1 << 20)
161 #ifdef CONFIG_FB_PXA_SMARTPANEL
163 extern int pxafb_smart_flush(
struct fb_info *
info);
165 static inline int pxafb_smart_queue(
struct fb_info *
info,
171 static inline int pxafb_smart_flush(
struct fb_info *
info)