imx93 lvds panel not working after kernel upgrade to 6.6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx93 lvds panel not working after kernel upgrade to 6.6

跳至解决方案
5,312 次查看
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 项奖励
回复
1 解答
4,740 次查看
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 项奖励
回复
10 回复数
5,275 次查看
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 项奖励
回复
5,254 次查看
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 项奖励
回复
5,241 次查看
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 项奖励
回复
5,233 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

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

Best Regards,
Zhiming

0 项奖励
回复
5,232 次查看
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 项奖励
回复
5,211 次查看
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 项奖励
回复
5,127 次查看
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 项奖励
回复
4,787 次查看
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 项奖励
回复
4,777 次查看
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 项奖励
回复
4,741 次查看
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 项奖励
回复