imx93 lvds panel not working after kernel upgrade to 6.6

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

imx93 lvds panel not working after kernel upgrade to 6.6

Jump to solution
6,164 Views
mm_karo
Contributor II

Hello,

I upgraded the kernel version from 6.1 to 6.6. After that the lvds panel is not working on the imx93 module with a custom board. I always get messaged like

[ 0.137996] imx93-ldb ldb-display-controller: Failed to create device link (0x180) with ldb-phy
[ 0.324387] imx93-ldb ldb-display-controller: Failed to create device link (0x180) with lvds-panel

...

imx-lcdifv3 4ae30000.lcd-controller: deferred probe timeout, ignoring dependency
imx-lcdifv3: probe of 4ae30000.lcd-controller failed with error -110

I attached the device tree and the /var/log/messages

Can anyone help me with my problem?

0 Kudos
Reply
1 Solution
5,592 Views
mm_karo
Contributor II

Hello,

I solved the problem.

The media_blk_ctrl could not be used because the CONFIG_IMX9_BLK_CTRL variable was not set. This variable wasn't set because CONFIG_IMX_GPCV2_PM_DOMAINS was not set.

After setting CONFIG_IMX_GPCV2_PM_DOMAINS=y the drivers could successfully be probed.

Thanks for your help.

Marcel

View solution in original post

0 Kudos
Reply
10 Replies
6,127 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

You can try to revert these two changes

Zhiming_Liu_0-1733192047764.png

Use below configs:

CONFIG_DRM_PANEL_LVDS=m

CONFIG_DRM_DISPLAY_CONNECTOR=m



Best Regards,
Zhiming

0 Kudos
Reply
6,106 Views
mm_karo
Contributor II

Hi,

thank you for your reply.

I changed the config, but still the same error.

I attached the current config

0 Kudos
Reply
6,093 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Can you provide the dts file after decompiling from one of panel's dtb?

I decompiled the imx93-11x11-evk-boe-wxga-lvds-panel.dtb , the lcdif node is:

lcdif = "/soc@0/lcd-controller@4ae30000";

Here i provide it for reference.


Best Regards,
Zhiming

0 Kudos
Reply
6,085 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Update, i can reproduce same error log with evk board and panel.

Best Regards,
Zhiming

0 Kudos
Reply
6,084 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

The 'Failed to create device link (0x180)' is a noisy log and not affect display. If you want to remove that log print, please refer below patch.

https://lore.kernel.org/lkml/CAGETcx9e4mpcMY+pqMYXsVWGcjgkctCqgO665KgqUH4JvYbUAQ@mail.gmail.com/t/

 

The EVK board has that log, but the display is normal.

Best Regards,
Zhiming

0 Kudos
Reply
6,063 Views
mm_karo
Contributor II

Okay, thanks again.

But what is about the other messages

imx-lcdifv3 4ae30000.lcd-controller: deferred probe timeout, ignoring dependency
imx-lcdifv3: probe of 4ae30000.lcd-controller failed with error -110

I won't get a framebuffer device.

I attached the decompiled dtb and the messages.

Thanks for your help!

0 Kudos
Reply
5,979 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

From the error log, the lcdif driver deferred probe timeout is caused by 4ae20000.epxp. Please try to add such dts overlay in your dts. 

&epxp {
	status = "okay";
};



Best Regards,
Zhiming

0 Kudos
Reply
5,639 Views
mm_karo
Contributor II

Hi,

sorry for my late reply. I upgraded the kernel version of our imx8mm module. On this module the display is working, but it is a mipi display.

The epxp was already enabled in my dtb by an overlay. I also inserted it directly, but no difference.

I also get the "deffered probe timeout" errors for the mipi-csi camera.

imx-lcdifv3 4ae30000.lcd-controller: deferred probe timeout, ignoring dependency
imx-lcdifv3: probe of 4ae30000.lcd-controller failed with error -110
dwc-mipi-csi2-host 4ae00000.csi: deferred probe timeout, ignoring dependency
dwc-mipi-csi2-host: probe of 4ae00000.csi failed with error -110
mxc-isi_v1 4ae40000.isi: deferred probe timeout, ignoring dependency
mxc-isi_v1: probe of 4ae40000.isi failed with error -110
imx-pxp-v3 4ae20000.epxp: deferred probe timeout, ignoring dependency
imx-pxp-v3: probe of 4ae20000.epxp failed with error -110

 

Do have any other ideas?

Thanks again!

Marcel

0 Kudos
Reply
5,629 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

I am wondering if this is caused by pwm backlight node. Can you verify this?
Best Regards,
Zhiming

0 Kudos
Reply
5,593 Views
mm_karo
Contributor II

Hello,

I solved the problem.

The media_blk_ctrl could not be used because the CONFIG_IMX9_BLK_CTRL variable was not set. This variable wasn't set because CONFIG_IMX_GPCV2_PM_DOMAINS was not set.

After setting CONFIG_IMX_GPCV2_PM_DOMAINS=y the drivers could successfully be probed.

Thanks for your help.

Marcel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2005142%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2005142%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20upgraded%20the%20kernel%20version%20from%206.1%20to%206.6.%20After%20that%20the%20lvds%20panel%20is%20not%20working%20on%20the%20imx93%20module%20with%20a%20custom%20board.%20I%20always%20get%20messaged%20like%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%5B%200.137996%5D%20imx93-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%20ldb-phy%3CBR%20%2F%3E%5B%200.324387%5D%20imx93-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%20lvds-panel%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E...%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Eimx-lcdifv3%204ae30000.lcd-controller%3A%20deferred%20probe%20timeout%2C%20ignoring%20dependency%3CBR%20%2F%3Eimx-lcdifv3%3A%20probe%20of%204ae30000.lcd-controller%20failed%20with%20error%20-110%3C%2FP%3E%3CP%3EI%20attached%20the%20device%20tree%20and%20the%20%2Fvar%2Flog%2Fmessages%3C%2FP%3E%3CP%3ECan%20anyone%20help%20me%20with%20my%20problem%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015215%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015215%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20solved%20the%20problem.%3C%2FP%3E%3CP%3EThe%20media_blk_ctrl%20could%20not%20be%20used%20because%20the%20CONFIG_IMX9_BLK_CTRL%20variable%20was%20not%20set.%20This%20variable%20wasn't%20set%20because%20CONFIG_IMX_GPCV2_PM_DOMAINS%20was%20not%20set.%3C%2FP%3E%3CP%3EAfter%20setting%20CONFIG_IMX_GPCV2_PM_DOMAINS%3Dy%20the%20drivers%20could%20successfully%20be%20probed.%3C%2FP%3E%3CP%3EThanks%20for%20your%20help.%3C%2FP%3E%3CP%3EMarcel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2013265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2013265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20wondering%20if%20this%20is%20caused%20by%20pwm%20backlight%20node.%20Can%20you%20verify%20this%3F%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2012896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2012896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Esorry%20for%20my%20late%20reply.%20I%20upgraded%20the%20kernel%20version%20of%20our%20imx8mm%20module.%20On%20this%20module%20the%20display%20is%20working%2C%20but%20it%20is%20a%20mipi%20display.%3C%2FP%3E%3CP%3EThe%20epxp%20was%20already%20enabled%20in%20my%20dtb%20by%20an%20overlay.%20I%20also%20inserted%20it%20directly%2C%20but%20no%20difference.%3C%2FP%3E%3CP%3EI%20also%20get%20the%20%22deffered%20probe%20timeout%22%20errors%20for%20the%20mipi-csi%20camera.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Eimx-lcdifv3%204ae30000.lcd-controller%3A%20deferred%20probe%20timeout%2C%20ignoring%20dependency%0Aimx-lcdifv3%3A%20probe%20of%204ae30000.lcd-controller%20failed%20with%20error%20-110%0Adwc-mipi-csi2-host%204ae00000.csi%3A%20deferred%20probe%20timeout%2C%20ignoring%20dependency%0Adwc-mipi-csi2-host%3A%20probe%20of%204ae00000.csi%20failed%20with%20error%20-110%0Amxc-isi_v1%204ae40000.isi%3A%20deferred%20probe%20timeout%2C%20ignoring%20dependency%0Amxc-isi_v1%3A%20probe%20of%204ae40000.isi%20failed%20with%20error%20-110%0Aimx-pxp-v3%204ae20000.epxp%3A%20deferred%20probe%20timeout%2C%20ignoring%20dependency%0Aimx-pxp-v3%3A%20probe%20of%204ae20000.epxp%20failed%20with%20error%20-110%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3EDo%20have%20any%20other%20ideas%3F%3C%2FP%3E%3CP%3EThanks%20again!%3C%2FP%3E%3CP%3EMarcel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2007668%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2007668%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EFrom%20the%20error%20log%2C%20the%20lcdif%20driver%26nbsp%3Bdeferred%20probe%20timeout%20is%20caused%20by%26nbsp%3B4ae20000.epxp.%20Please%20try%20to%20add%20such%20dts%20overlay%20in%20your%20dts.%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%26amp%3Bepxp%20%7B%0A%09status%20%3D%20%22okay%22%3B%0A%7D%3B%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2007061%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2007061%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOkay%2C%20thanks%20again.%3C%2FP%3E%3CP%3EBut%20what%20is%20about%20the%20other%20messages%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Eimx-lcdifv3%204ae30000.lcd-controller%3A%20deferred%20probe%20timeout%2C%20ignoring%20dependency%3CBR%20%2F%3Eimx-lcdifv3%3A%20probe%20of%204ae30000.lcd-controller%20failed%20with%20error%20-110%3C%2FP%3E%3CP%3EI%20won't%20get%20a%20framebuffer%20device.%3C%2FP%3E%3CP%3EI%20attached%20the%20decompiled%20dtb%20and%20the%20messages.%3C%2FP%3E%3CP%3EThanks%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThe%20'Failed%20to%20create%20device%20link%20(0x180)'%20is%20a%20noisy%20log%20and%20not%20affect%20display.%20If%20you%20want%20to%20remove%20that%20log%20print%2C%20please%20refer%20below%20patch.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flore.kernel.org%2Flkml%2FCAGETcx9e4mpcMY%2BpqMYXsVWGcjgkctCqgO665KgqUH4JvYbUAQ%40mail.gmail.com%2Ft%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Flore.kernel.org%2Flkml%2FCAGETcx9e4mpcMY%2BpqMYXsVWGcjgkctCqgO665KgqUH4JvYbUAQ%40mail.gmail.com%2Ft%2F%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20EVK%20board%20has%20that%20log%2C%20but%20the%20display%20is%20normal.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EUpdate%2C%20i%20can%20reproduce%20same%20error%20log%20with%20evk%20board%20and%20panel.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006456%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006456%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20you%20provide%20the%20dts%20file%20after%20decompiling%20from%20one%20of%20panel's%20dtb%3F%3C%2FP%3E%0A%3CP%3EI%20decompiled%20the%26nbsp%3Bimx93-11x11-evk-boe-wxga-lvds-panel.dtb%20%2C%20the%20lcdif%20node%20is%3A%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Elcdif%20%3D%20%22%2Fsoc%400%2Flcd-controller%404ae30000%22%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EHere%20i%20provide%20it%20for%20reference.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006009%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006009%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Ethank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3EI%20changed%20the%20config%2C%20but%20still%20the%20same%20error.%3C%2FP%3E%3CP%3EI%20attached%20the%20current%20config%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2005566%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20lvds%20panel%20not%20working%20after%20kernel%20upgrade%20to%206.6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2005566%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20try%20to%20revert%20these%20two%20changes%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Zhiming_Liu_0-1733192047764.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_0-1733192047764.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F313609i326EAB41A25CF03A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Zhiming_Liu_0-1733192047764.png%22%20alt%3D%22Zhiming_Liu_0-1733192047764.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EUse%20below%20configs%3A%3C%2FP%3E%0A%3CP%3ECONFIG_DRM_PANEL_LVDS%3Dm%3C%2FP%3E%0A%3CP%3ECONFIG_DRM_DISPLAY_CONNECTOR%3Dm%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E