You can use the followed video mode:
1000000 / fb_videomode.pixclock = 1000000 / 40000 = 25MHz pixel clock.
fb_videomode.refresh = 60;
fb_videomode.xres = 640;
fb_videomode.yres = 480;
fb_videomode.left_margin + right_margin + hsync_len = 70 + 70 + 20 = 160 = HBlanking
fb_videomode.upper_margin + lower_margin + vsync_len = 20 + 20 + 5 = 45 = VBlanking
static struct fb_videomode video_modes[] = {
{
/* 640x480 @ 60 Hz , pixel clk @ 25MHz */
"G065V-VGA", 60, 640, 480, 40000, 70, 70, 20, 20, 20, 5,
FB_SYNC_CLK_LAT_FALL,
FB_VMODE_NONINTERLACED,
0,},
};
And in kernel command lines, if you had connected 24 pin data lines in hardware: video=mxcdi0fb:RGB24,G065V-VGA,bpp=32;
If you had connected 18 pin data lines in hardware: video=mxcdi0fb:RGB666,G065V-VGA,bpp=32;
If you had connected 16 pin data lines in hardware: video=mxcdi0fb:RGB565,G065V-VGA,bpp=32;