Thanks Estevam...
In u-boot i have adjusted the display timings and now i am able to boot my 1024X768 LVDS display (RGB666).
Hello,
Now i am trying to interface 1920X1200 LVDS display with i.MX6 processor, and this display is having RGB24 bits.
Following were the changes i made :
(a)In uboot-imx/board/freescale/mx6qsabrelite/mx6qsabrelite.c :
{
.bus = -1,
.addr = 0,
.pixfmt = IPU_PIX_FMT_LVDS888,
.detect = 0,
.enable = enable_lvds,
.mode = {
.name = "HYDIS-1920X1200display",
.refresh = 60,
.xres = 1920,
.yres = 1200,
.pixclock = 7692,
.left_margin = 100,
.right_margin = 40,
.upper_margin = 30,
.lower_margin = 3,
.hsync_len = 10,
.vsync_len = 12,
.sync = FB_SYNC_EXT,
.vmode = FB_VMODE_NONINTERLACED
}
(b)In u-boot kernel arguments i am configuring it as :
setenv bootargs $bootargs video=mxcfb0:dev=ldb,LDB-HYDIS,if=RGB888 fb=28M
(c)In the file : arch/arm/mach-mx6/board-mx6q_sabrelite.c
static struct ipuv3_fb_platform_data sabrelite_fb_data[] = {
{ /*fb0*/
.disp_dev = "ldb",
.interface_pix_fmt = IPU_PIX_FMT_RGB24,
.mode_str = "LDB-HYDIS",
.default_bpp = 24,
.int_clk = false,
}
}
static struct fsl_mxc_ldb_platform_data ldb_data = {
.ipu_id = 1,
.disp_id = 0,
.ext_ref = 1,
.mode = LDB_SPL_DI0,
.sec_ipu_id = 1,
.sec_disp_id = 1,
};
(d)In the file : drivers/video/mxc/ldb.c
according to 1920X1200 LVDS display timings :
static struct fb_videomode ldb_modedb[] = {
{
"LDB-HYDIS", 60, 1920, 1200, 6615,
30, 30,
15, 5,
60, 15,
0,
FB_VMODE_NONINTERLACED,
FB_MODE_IS_DETAILED,},
}
With all the above changes also i am unable to see anything on the display?
What other configurations i need to take care inorder to enable 1920X1200 LVDS display.
Thanks
Soujanya