|
本帖最后由 TQ-ZQL 于 2013-5-23 18:22 编辑
arch/arm/mach-omap2/board-am335xevm.c
这里只讲一定要改的, 其它参数要看具体的屏具体去修改
static const struct display_panel disp_panel = {
WVGA,
32,//改成16
32,//改成16
COLOR_ACTIVE,
};
static struct lcd_ctrl_config lcd_cfg = {
&disp_panel,
.ac_bias = 255,
.ac_bias_intrpt = 0,
.dma_burst_sz = 16,
.bpp = 32,//改成16
.fdd = 0x80,
.tft_alt_mode = 0,
.stn_565_mode = 0,
.mono_8bit_mode = 0,
.invert_line_clock = 1,
.invert_frm_clock = 1,
.sync_edge = 0,
.sync_ctrl = 1,
.raster_order = 0,
}
|
|