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,},
};
You may look at app note AN3974 “Different Display Configurations on
i.MX35 Linux PDK” regarding Linux framebuffer structures.
http://cache.freescale.com/files/dsp/doc/app_note/AN3974.pdf
“interface_pix_fmt" - defines format of memory, reserved for pixel.
"default_bpp" – default bits per pixel parameter.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, Yuri!
I configure parallel LCD in my board. I use 3.10.53_1.1.0-ga relise.
But, i not find board_mx6q_sabreauto.c file
May meant the mx6q_sabreauto.dtsi file?
Yes,
"For the i.MX 6Quad/6DualLite/6SoloLite/6SoloX, the board specific
configuration options for the driver are set in:
arch/arm/boot/dts/imx6*.dtsi
arch/arm/boot/dts/imx6*.dts"
Regards,
Yuri.
Hi, Yuri.
Thank you for your reference.
Have a nice day.
Inchul.