#define REFRESH 60
#define XRES 240
#define YRES 320
#define LEFT_M 2
#define RIGHT_M 2
#define UPPER_M 0
#define LOWER_M 0
#define HSYNC_LEN 4
#define VSYNC_LEN 4
#define PIXCLOCK (1e12/((XRES+LEFT_M+RIGHT_M+HSYNC_LEN)*\(YRES+UPPER_M+LOWER_M+VSYNC_LEN)*REFRESH))
static struct fb_videomode video_modes[] = {
{
"MyVideoMode", REFRESH, XRES, YRES, PIXCLOCK, LEFT_M, RIGHT_M, UPPER_M, LOWER_M, HSYNC_LEN, VSYNC_LEN,
0, FB_VMODE_NONINTERLACED, 0,
},
};
Thanks Jacky,
However your reply appears diametrically opposed to this post:
Re: mx53 fb_videomodes for custom lcd
Please clarify - I'm running into odd pixclock issues and cannot seem to get to the bottom of...
thanks,
mike