User`s guide

Supporting the i.MX53 Reference Board DISP0 LCD
i.MX53 System Development User’s Guide, Rev. 1
Freescale Semiconductor 18-13
Note that a new object, mxcfb_CLAA057VA01CT.o, is created when
CONFIG_FB_MXC_CLAA057VA01CT_SYNC_PANEL flag is set. The LCD module with the
initialization and de-initialization routines is only available to the kernel after this object has been created.
If the LCD does not need a particular configuration, you may omit the usage of the LCD file and discard
any changes on Kconfig and Makefile.
18.4.4 Configuring LCD Timings and the Display Interface
To support the new LCD, include the specification for the following LCD characteristics in the
madglobal:mxc53_<reference board name>.c file (located at
<ltib dir>//rpm/BUILD/linux/arch/arm/mach-mx5/madglobal:mxc53_<board name>.c):
Display resolution
Pixel color depth
Refresh rate
RGB display waveform description.
IPU display output interface format
For the display, resolution, refresh rate, and RGB display waveform descriptions, add a new fb_videomode
struct into the video_modes[] array based on the LCD timing and waveforms. See the CLAA-VGA entry
on the following example code.
static struct fb_videomode video_modes[] = {
{
/* NTSC TV output */
"TV-NTSC", 60, 720, 480, 74074,
122, 15,
18, 26,
1, 1,
FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT | FB_SYNC_EXT,
FB_VMODE_INTERLACED,
0,},
......
{
/* 640x480 @ 60 Hz */
"CLAA-VGA", 60, 640, 480, 39683, 45, 114, 33, 11, 1, 1,
FB_SYNC_CLK_LAT_FALL,
FB_VMODE_NONINTERLACED,
0,},
};
After including the new entry for the CLAA057VA01CT into the video_modes[] array, point the DISP0
configuration to this new
fb_videomode. The link can be done by using an mxc_fb_platform_data struct
when the frame buffer device is registered, as follows.
static struct mxc_fb_platform_data CLAA057VA01CT_fb_data =
{
.interface_pix_fmt = IPU_PIX_FMT_RGB666,
.mode_str = "CLAA-VGA",
.mode = video_modes,
.num_modes = ARRAY_SIZE(video_modes),