DSI output unstable on the i.MX8M Mini

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DSI output unstable on the i.MX8M Mini

961 Views
fabriziocastro
Contributor I

Dear All,

 

We have a board with an i.MX8M Mini SoC connected to the TI SN65DSI86 via the DSI interface.

We are using v4.19.35 for the Linux kernel (rel_imx_4.19.35_1.0.0).

 

The monitor connected to the TI SN65DSI86 chip generally works OK at boot up (but not every single time), and we get intermittent problems while switching modelines at run time. The problems that we see are:

  • black screen
  • stripe at the top of the screen, the rest of the screen is black
  • flickering
  • dead monitor

When one of the aforementioned problems shows (mainly when switching resolution at run time, and occasionally at boot up), the TI SN65DSI86 chip reports LOSS_OF_DP_SYNC_LOCK_ERR (bit 6) from register 0xF6, which seems to indicate problems with the DSI interface. TheSN65DSI86 chip has a color bars generator that does not require the DSI interface, when generating color bars the monitor works all the time, with any of the resolution/timings supported by the monitor.

All seems to be pointing to issues with the DSI interface, but unfortunately I can't really take any measurements on those lines as the tracks go from the SoC straight to the bridge.

 

These issues are a bit puzzling, as they are intermittent, the same modeline might work or it might not work, and retrying the same modeline (via modetest) might fix or break the monitor.

 

Any idea on how to approach this?

 

Thanks,

Fab

0 Kudos
4 Replies

956 Views
igorpadykov
NXP Employee
NXP Employee

Hi fabriziocastro

 

dts example with sn65dsi can be found on :

https://github.com/TechNexion-customization/linux-imx-tn/blob/tn-imx_4.14.98_2.0.0_ga-wip-mipi2lvds/...

intermittent problems may be caused by hardware, one can try to resolder chip.

 

Best regards
igor

0 Kudos

949 Views
fabriziocastro
Contributor I

Hi Igor,

 

thank you for your reply.

The problem is showing on every unit we have.The device tree you linked is using an embedded panel, is there a demo board/development kit available with the imx8mm and the sn65dsi with support for plug and play monitors (which means, with a displayport connector)?

 

Thanks,

Fab

0 Kudos

947 Views
fabriziocastro
Contributor I

Hi Igor,

 

just to clarify things a bit, the sn65dsi device we have is the sn65dsi86, which is a MIPI DSI to eDP bridge.

 

Thanks,

Fab

0 Kudos

872 Views
talel_hajsalem
Contributor III

Hi Fab,

I'm working on the same dsi module with IMX8MM, can you help me on this?

Can you provide me with your last kernel device tree source which defines the i2c subnode for the panel and the mipi_dsi node?

And can you tell me how did you configure uboot for the video ?

Thansk ,Talel

0 Kudos