Dear TI.
I have some issues.
Recently, I try to developed using the OMAP4470 Blaze Ref. board.
- Issue #1 : Ocure DSI error
- Issue #2 : Does not LVDS output signal from tc35876x.
[Enviroment]
- Jelly Bean (4AJ.1.1)
- Display strucutre : OMAP4470 MIPI(DSI) input -- [TC358765] -- LVDS output -- Himex 7816 / 7318 display
- Himex Display Resolution : WXGA-1366*768 (24bit)
- DSI lane : 3 Lane (1 clock, 2 data)
[board-44xx-tablet-panel.c]
static struct omap_dsi_timings dsi_timings_tc35876x = {
.hbp = 68,
.hfp = 22,
.hsa = 0,
.vbp = 13,
.vfp = 2,
.vsa = 2,
.vact = 800,
.tl = 970,
.hsa_hs_int = 72,
.hfp_hs_int = 114,
.hbp_hs_int = 150,
.hsa_lp_int = 130,
.hfp_lp_int = 223,
.hbp_lp_int = 59,
.bl_lp_int = 0x31d1,
.bl_hs_int = 0x7a67,
.exit_lat = 15,
.enter_lat = 18,
};
static struct omap_video_timings dispc_timings_tc35876x = {
.x_res = 1366,
.y_res = 768,
.hfp = 22,
.hsw = 4,
.hbp = 68,
.vfp = 2,
.vsw = 6,
.vbp = 13,
};
static struct tc358765_board_data dsi_data_tc35876x_himex_7318 = {
.lp_time = 0x4,
.clrsipo = 0x3,
.lv_is = 0x1,
.lv_nd = 0x6,
.vtgen = 0x0,
.vsdelay = 0xf02,
.pclkdiv = 0x0,
.pclksel = 0x0,
.lvdlink = 0x0,
.msf = 0x0,
.evtmode = 0x1,
};
static struct omap_dss_device lcd_tc35876x_himex_hx7318 = {
.name = "lcd",
.driver_name = "tc358765",
.type = OMAP_DISPLAY_TYPE_DSI,
.data = &dsi_data_tc35876x_himex_hx7318,
.phy.dsi = {
.clk_lane = 1,
.clk_pol = 0,
.data1_lane = 2,
.data1_pol = 0,
.data2_lane = 3,
.data2_pol = 0,
.type = OMAP_DSS_DSI_TYPE_VIDEO_MODE,
.line_bufs = 2,
},
.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 = 173,
.regm_dispc = 6,
.regm_dsi = 5,
.lp_clk_div = 5,
.offset_ddr_clk = 0,
.dsi_fclk_src = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DSI,
.tlpx = 12,
.tclk = {
.zero = 58,
.prepare = 15,
.trail = 16,
},
.ths = {
.zero = 23,
.prepare = 18,
.exit = 33,
.trail = 19,
},
},
},
.panel = {
.timings = {
.x_res = 1366,
.y_res = 768,
.pixel_clock = 69300,
.hfp = 22,
.hsw = 4,
.hbp = 68,
.vfp = 2,
.vsw = 6,
.vbp = 13,
},
.width_in_um = 217000,
.height_in_um = 135600,
},
.ctrl = {
.pixel_size = 24,
},
.reset_gpio = 102,
.channel = OMAP_DSS_CHANNEL_LCD,
.skip_init = false,
.platform_enable = NULL,
.platform_disable = NULL,
.dispc_timings = &dispc_timings_tc35876x,
.dsi_timings = &dsi_timings_tc35876x,
};
[DSI error log]
[ 9.752288] tc358765 display0: disable
[ 9.775848] omapdss DSI error: Failed to set dsi_if_enable to 0
[ 9.776000] Invalid Device Structure
[ 9.790649] tc358765 display0: enable
[ 9.790649] tc358765 display0: power_on
[ 10.071380] tc358765 display0: power_on done
[ 10.106201] omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
[ 10.113311] omapdss DISPC error: GO bit not down for channel 0
[ 10.180023] omapdss DISPC error: SYNC_LOST, disabling LCD
[ 10.189147] tc358765 display0: disable
[ 10.199005] ignoring apply mgr(lcd) while blanking
[ 10.217956] omapdss DSI error: Failed to set dsi_if_enable to 0
[ 10.277893] tc358765 display0: enable
[ 10.282196] tc358765 display0: power_on
[ 10.564758] tc358765 display0: power_on done
If above setting values are incorrect then please let me know that correct setting value.
And if you need more information, please reply your opinion.
Thank you.
BR.