Hi community:
Someone passed the mipi output function on imx8mini? Using the official evk board, using "fsl-imx8mm-ddr4-evk-rm67191.dts", mipi reports the following:
Any kind people come help?
[ 1.629364] imx_sec_dsim_drv 32e10000.mipi_dsi: wait pkthdr tx done time out
[ 1.629370] panel-lt-lt9211 32e10000.mipi_dsi.0: [drm:lt9211_panel_enable] *ERROR* Failed to exit sleep mode (-16)
[ 1.629375] panel-lt-lt9211 32e10000.mipi_dsi.0: [drm:lt9211_panel_enable] *ERROR* lt9211_panel_prepare failed (-16)
[ 1.629379] imx_sec_dsim_drv 32e10000.mipi_dsi: panel enable failed: -16
Hello, I am also debugging lt9211 recently, there is very little online information, you can share the driver of lt9211 to me? thank you
you can write an i2c driver by referring to the microcontroller program, mainly to initialize the register.
Reply to @Linh Nguyen
> I also face the same problem with NT35596 based MIPI DSI LCD. Actually, the first 6 MIPI DSI commands work fine (after LCD panel reset signal),
> then "wait pkthdr tx done time out" error returned on all later MIPI commands.
I added a new display (the ORIC ORC03003N-40) using the Sitronix ST7701 driver chip to the iMX8MM EVK.
I patched the Raydium rm67191 driver by only changing the init sequence to the manufacturer command set of the new display, adjusted the pixel clock, and corrected the number of lanes in the corresponding dts and I immediately got colored stripes shown on the display.
One important observation is that the raydium driver uses
mipi_dsi_generic_write() to send mipi commands, which is working, while mipi_dsi_dcs_write_buffer() failed with "wait payload tx done time out" or ""wait pkthdr tx done time out" errors (in kernel log) after about four successful writes.
Find patches for i.MX8MM Android 10 sources below.
Apply with
cd imx-android-10/android_build/vendor/nxp-opensource/kernel_imx
git apply 0001-add-st7701-driver-shows-stripes-not-finished.patch
cd imx-android-10/android_build/device/fsl
git apply 0001-change-mipi-display-to-st7701.patch
I also face the same problem with NT35596 based MIPI DSI LCD. Actually, the first 6 MIPI DSI commands work fine (after LCD panel reset signal), then "wait pkthdr tx done time out" error returned on all later MIPI commands.
But MIPI DSI commands work fine on other type of LCD driver IC.
I'm using iMX8M Mini.
Did you solved the error? or any idea? Thank you.
driver panel_enable method modifly:
ret = mipi_dsi_dcs_write(dsi, MIPI_DCS_WRITE_CONTROL_DISPLAY,
(u8[]){ 0x24 }, 1);
if (ret < 0) {
dev_err(dev, "failed to write control display: %d\n", ret);
return ret;
}
/* Set pixel format to RGB888 */
ret = mipi_dsi_dcs_set_pixel_format(dsi, 0x77);
if (ret < 0) {
DRM_DEV_ERROR(dev, "Failed to set pixel format (%d)\n", ret);
goto fail;
}
hello @传策 薛 , 8mm Driver lt9211 display screen split screen jitter encountered ?
Hello, I also encountered this problem, how did you solve it?
hello, on our 8mm custom board , lt9211 driver output error log " LT9211 pcr unstable".
I try to modify lt9211 drive Pcr_M value and check pcr_stable more times ,but no use。
Have you seen the same problem?
Hi,
Do you have source code link?
maybe the config problem
problem solved ! tks!
did you use hdmi though mipi dsi?rm67191 is for oled, if you want to use hdmi, try to use the default dtb, like fsl-imx8mm-evk.dtb
Our design is mipi to lvds, so I want the mipi end to always output a stable signal to the chip processing, our chip is lt9211
as I mentioned, use fsl-imx8mm-evk.dtb, rm67191 is for oled