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