MIPI DSI LCD display in i.MX8M

cancel
Showing results for 
Search instead for 
Did you mean: 

MIPI DSI LCD display in i.MX8M

6,097 Views
Contributor V

Hi,

I am using i.MX8M custom board with raydium-rm68200(720P mipi dsi display).

I have tried HDMI with DCSS and it worked fine, now trying to enable above mentioned LCD with DCSS(mipi dsi), referred "fsl-imx8mq-evk-dcss-rm67191.dts" file for the same.

But here i'm facing a error print as below.

******************************************************************

[    1.202690] clk: failed to reparent disp_rtrm_pre_div to video_pll1_out: -22
[    1.213408] [drm] Initialized
[    1.222852] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.229491] [drm] No driver support for vblank timestamp query.
[    1.235597] imx-drm display-subsystem: bound imx-dcss-crtc.0 (ops dcss_crtc_ops)
[    1.243093] nwl_dsi-imx mipi_dsi@30A00000: Using DCSS as input source
[    1.356820] 30a00000.mipi_dsi_bridge.0 supply power not found, using dummy regulator
[    1.364776] nwl-mipi-dsi 30a00000.mipi_dsi_bridge: [drm:nwl_dsi_host_attach] lanes=4, format=0x0 flags=0xc05
[    1.374625] [drm] raydium_rm68200_panel 720x1280@50 24bpp dsi 4dl - ready
[    1.381486] _panel 720x1280@50 24bpp dsi 4dl - ready
[    1.386524] imx-drm display-subsystem: bound mipi_dsi@30A00000 (ops imx_nwl_dsi_component_ops)
[    1.397830] [drm] OPIPE_CFG: gamut = 3, nl = 1, pr = 1, pix_format = 875713089
[    2.361984] Console: switching to colour frame buffer device 90x80
[    2.408954] imx-drm display-subsystem: fb0:  frame buffer device

************************************************************************

But after that print all other prints looks proper, but nothing displays on LCD. Clock and power sequences are seen as expected.

Fbset command outputs as below.

root@imx8mqevk:~# fbset

mode "720x1280"
    geometry 720 1280 720 1280 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

root@imx8mqevk:~#

Kindly provide your inputs regarding this.

Thanks in advance,

Regards,

Yashavantha

0 Kudos
15 Replies

300 Views
NXP TechSupport
NXP TechSupport

Hi Yashavantha

for new panel timings may be adjusted in driver:

linux/drivers\gpu\drm\panel\panel-raydium-rm67191.c

linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

300 Views
Contributor V

Dear Igor,

Thank you for your reply.

Timings may not be the issue because the LCD with same driver is already tested with other modules.

Also i think "[    1.202690] clk: failed to reparent disp_rtrm_pre_div to video_pll1_out: -22" this issue is not because of panel driver, but because of dts file changes.

Thanks and Regards,

Yashavantha

0 Kudos

300 Views
Contributor V

Hi Igor,

Thank you.

After updating panel-timings mipi display is working, but the mentioned print "[    1.202690] clk: failed to reparent disp_rtrm_pre_div to video_pll1_out: -22" is still there.

kindly provide your inputs regarding this.

Thanks and Regards,

Yashavantha

0 Kudos

300 Views
NXP TechSupport
NXP TechSupport

Hi Yashavantha

what bsp used in the case, had you tried with

linux-imx - i.MX Linux kernel 

described in

https://www.nxp.com/webapp/Download?colCode=L4.9.51_8MQ_GA_LINUX_DOCS&Parent_nodeId=1337699481071706... 

Best regards
igor

0 Kudos

300 Views
Contributor V

Dear Igor,

I am using "fsl-yocto-L4.9.51_mx8mq-ga" BSP release.

Thanks and Regards,

Yashavantha

0 Kudos

300 Views
NXP TechSupport
NXP TechSupport

Hi Yashavantha

could you provide link to used dts file.

Best regards
igor

0 Kudos

300 Views
Contributor V

Dear Igor,

I have attached dts file here.

Thanks and Regards,

Yashavantha

0 Kudos

300 Views
NXP TechSupport
NXP TechSupport

Hi Yashavantha

according to linux documentation below there is no support for compatible = "raydium,rm68200"; 

raydium,rm67191.txt\panel\display\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel 

could you try with

compatible = "raydium,rm67191";

Best regards
igor

0 Kudos

300 Views
Contributor V

Dear Igor,

The related drivers for "raydium,rm68200" we have added and with that display is working fine.

But that mentioned error print is coming always("[    1.202690] clk: failed to reparent disp_rtrm_pre_div to video_pll1_out: -22").

Don't know why that print is coming.

Thanks and Regards,

Yashavantha

0 Kudos

300 Views
NXP TechSupport
NXP TechSupport

Hi Yashavantha

suggest to check with default display MX8-DSI-OLED1 described in AN12189

https://www.nxp.com/docs/en/application-note/AN12189.pdf 

and compare it with custom driver for rm68200 to find source of issue.

Best regards
igor

0 Kudos

300 Views
Contributor V

Hi Igor,

That error print is coming even before DRM initialization.

please see below boot prints.

******************************************************************

[    1.146290] bootconsole [ec_imx6q0] disabled
[    1.151290] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 34, base_baud = 5000000) is a IMX
[    1.160616] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 35, base_baud = 1562500) is a IMX
[    1.170069] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 37, base_baud = 5000000) is a IMX
[    1.179702] msm_serial: driver initialized

[    1.202690] clk: failed to reparent disp_rtrm_pre_div to video_pll1_out: -22
[    1.213408] [drm] Initialized
[    1.222852] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.229491] [drm] No driver support for vblank timestamp query.
[    1.235597] imx-drm display-subsystem: bound imx-dcss-crtc.0 (ops dcss_crtc_ops)
[    1.243093] nwl_dsi-imx mipi_dsi@30A00000: Using DCSS as input source
[    1.356820] 30a00000.mipi_dsi_bridge.0 supply power not found, using dummy regulator
[    1.364776] nwl-mipi-dsi 30a00000.mipi_dsi_bridge: [drm:nwl_dsi_host_attach] lanes=4, format=0x0 flags=0xc05
[    1.374625] [drm] raydium_rm68200_panel 720x1280@50 24bpp dsi 4dl - ready
[    1.381486] _panel 720x1280@50 24bpp dsi 4dl - ready
[    1.386524] imx-drm display-subsystem: bound mipi_dsi@30A00000 (ops imx_nwl_dsi_component_ops)
[    1.397830] [drm] OPIPE_CFG: gamut = 3, nl = 1, pr = 1, pix_format = 875713089
[    2.361984] Console: switching to colour frame buffer device 90x80
[    2.408954] imx-drm display-subsystem: fb0:  frame buffer device

************************************************************************

Do you suspect driver for above error print?

Also neither we have i.MX8M evk nor the mentioned display(MX8-DSI-OLED1), so can u please provide the boot log prints with enabling MIPI display with DCSS?

Thanks and Regards,

Yashavantha

0 Kudos

300 Views
Contributor V

Hi Igor,

Could you please send me the boot logs.

Thank and Regards,

Yashavanhtha

0 Kudos

300 Views
Contributor V

Hi Igor,

Can I get the full boot log for i.MX8M EVK with default display MX8-DSI-OLED1 used with dcss?

Regards,

Yashavantha

0 Kudos

300 Views
Contributor V

Issue solved after using dts clock setting from 4.9.88 release.

0 Kudos

300 Views
Contributor III

Dear Yashavantha,

Please share the dts setting we are facing pixel clock setting issue.

Regards,

Kishore P

0 Kudos