imx8mm and does not support mipi_dsi_mode_sync_pulse mode for panels?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mm and does not support mipi_dsi_mode_sync_pulse mode for panels?

2,261件の閲覧回数
olliistmeinname
Contributor II

Hi,

We have just discovered the following lines in the "sec-dsim.c" mipi-dsi bus driver:

(https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/bridge/sec-dsim.c?h=imx_5....)

if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO)		||
	    !((dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST)	||
	      (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE))) {
		dev_err(dev, "unsupported dsi mode\n");
		return -EINVAL;
	}

Does this mean the imx8mm does not support sync pulse mode? Is there a hardware bug?

Thanks!

ラベル(1)
タグ(3)
0 件の賞賛
返信
2 返答(返信)

2,222件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

Imx8mm should  support sync pule mode, but only two modes support as below:

MIPI_DSI_MODE_VIDEO + MIPI_DSI_MODE_VIDEO_BURST or MIPI_DSI_MODE_VIDEO+MIPI_DSI_MODE_VIDEO_SYNC_PULSE, current bsp adv7535 can support this mode, you can refer to that

0 件の賞賛
返信

2,231件の閲覧回数
olliistmeinname
Contributor II

To provide some more information: we have a display that works on the imx8qxp using the NWL host driver (only sync pulse mode). On the imx8mm we cannot get it to work using the new samsung-dsim-imx driver with the identical settings! Here are scope traces:

olliistmeinname_1-1645528833860.png

(Traces are without screen attached! Therefore, not properly terminated, we also adjusted the HSA duration and timings (HS/CLK) on imx8mm - no change)

Thanks!

0 件の賞賛
返信