Hi,
I am trying to set up a MIPI DSI video mode driver for a 1080x1920 24-bit panel(30Hz) with the following timing requirements on the Panda board (OMAP4460).
static struct omap_dss_device omap4_panda_dsi_device =
{
.phy.dsi = {
.clk_lane = 1,
.clk_pol = 1,
.data1_lane = 2,
.data1_pol = 1,
.data2_lane = 3,
.data2_pol = 1,
.data3_lane = 4,
.data3_pol = 1,
.data4_lane = 5,
.data4_pol = 1,
.type = OMAP_DSS_DSI_TYPE_VIDEO_MODE,
.line_bufs = 0,
},
.clocks = {
.dispc = {
.channel = {
.lck_div = 1,
.pck_div = 2,
.lcd_clk_src = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
},
.dispc_fclk_src = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
},
.dsi = {
.regn = 16,
.regm = 188,
.regm_dispc = 6,
.regm_dsi = 6,
.lp_clk_div = 8,
.dsi_fclk_src = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DSI,
},
.ths = {
.zero = 14,
.prepare = 30,
.exit = 10,
.trail = 16,
},
.tlpx = 12,
.tclk = {
.zero = 20,
.prepare = 30,
.trail = 14,
},
},
.panel = {
.timings = {
.x_res = 1080,
.y_res = 1920,
.pixel_clock = 75425,
.hfp = 104,
.hsw = 10,
.hbp = 94,
.vfp = 16,
.vsw = 4,
.vbp = 11,
},
},
.channel = OMAP_DSS_CHANNEL_LCD,
};
I am getting display on the panel with the driver but the display is not correct as shown in the picture below, the frame are shifted to left, Which settings/parameters may need to be adjusted in order to resolve this kind of display issue?
Thank you