AnsweredAssumed Answered

How can I set 854x480 parallel LCD panel ?

Question asked by Lee Inchul on Jan 26, 2015
Latest reply on May 4, 2015 by Yuri Muhin

Hi, all.

 

I want to set 854x480 parallel LCD panel. So, I set parameters as the below.

 

1. Is it correcting set?

2. I cannot understand variables, ".interface_pix_fmt", "default_bpp". Would you give me some information about this

 

Thanks and best regards.

 

.................................................................................................................................

 

[u-boot]

bootargs_nfs_rgb24=setenv bootargs ${bootargs_base} root=/dev/nfs ip=${ipaddr}:${gatewayip}:${netmask}:${hostname}:eth0::off rw nfsroot=${serverip}:${rootpath},v3,tcp video=mxcfb0:dev=lcd,ARHUD-PGU,if=RGB24 video=mxcfb1:off video=mxcfb2:off

 

[board_mx6q_sabreauto.c]

static struct ipuv3_fb_platform_data sabr_fb_data[] = {

{ /*fb0*/

  .disp_dev           = "lcd",

  .interface_pix_fmt  = IPU_PIX_FMT_RGB24,

  .mode_str           = "ARHUD-PGU",

  .default_bpp        = 16,

  .int_clk            = false,

},{ /*fb1*/

  .disp_dev  = "ldb",

  .interface_pix_fmt = IPU_PIX_FMT_RGB666,

  .mode_str  = "LDB-XGA",

  .default_bpp  = 16,

  .int_clk  = false,

}, { /*fb2*/

  .disp_dev  = "ldb",

  .interface_pix_fmt = IPU_PIX_FMT_RGB666,

  .mode_str  = "LDB-XGA",

  .default_bpp  = 16,

  .int_clk  = false,

},

};

 

[mxc_lcdif.c]

static struct fb_videomode lcdif_modedb[] = {

{

/* 800x480 @ 57 Hz , pixel clk @ 27MHz */

"CLAA-WVGA", 57, 800, 480, 37037, 40, 60, 10, 10, 20, 10,

FB_SYNC_CLK_LAT_FALL,

FB_VMODE_NONINTERLACED,

0,},

{

/* 800x480 @ 60 Hz , pixel clk @ 32MHz */

"SEIKO-WVGA", 60, 800, 480, 29850, 89, 164, 23, 10, 10, 10,

FB_SYNC_CLK_LAT_FALL,

FB_VMODE_NONINTERLACED,

0,},

{

/* 854x480 @ 60 Hz , pixel clk @ 32MHz */

"ARHUD-PGU", 60, 854, 480, 29850, 89, 164, 23, 10, 10, 10,

FB_SYNC_CLK_LAT_FALL,

FB_VMODE_NONINTERLACED,

0,},

};

Outcomes