About eDP on imx8mq with Android12

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

About eDP on imx8mq with Android12

Jump to solution
276 Views
herman_lin
Contributor II

Hi,

We are integrating an eDP panel on Android 12 (Linux 5.15.52), and although the relevant drivers have probed successfully, the panel still cannot be turned on. The same panel can be turned on on Android 9 (Linux 4.14.98). When comparing Linux 4.14.98 to Linux 5.15.52, there are significant differences in the DRM subsystem.

1. Is eDP panel supported on Android 12 (Linux 5.15.52)? If supported, can you provide an DTS example for eDP panel for Linux 5.15.52?

2. following is the current error log:

[ 2.941516][ T1] cdns-mhdp-imx 32c00000.hdmi: __cdns_dp_probe
[ 2.941570][ T1] cdns-mhdp-imx 32c00000.hdmi: lane-mapping 0xc6
[ 2.964509][ T1] cdns-mhdp-imx 32c00000.hdmi: DP FW alive check done

[ 3.032239][ T1] imx-dcss 32e00000.display-controller: bound 32c00000.hdmi (ops cdns_mhdp_imx_ops [cdns_mhdp_imx])
[ 3.046591][ T1] [drm] Initialized imx-dcss 1.0.0 20190917 for 32e00000.display-controller on minor 0

...

[ 6.068826][ T169] [drm] Initialized vivante 1.0.0 20170808 for 38000000.gpu3d on minor 1

...

[ 13.642016][ T381] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out...1:2:130 vs 1:2:2
[ 13.658193][ T381] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_get_edid_block [cdns_mhdp_drmcore]] *ERROR* get block[0] edid failed: -22
[ 13.671010][ T381] [drm:cdns_dp_connector_get_modes [cdns_mhdp_drmcore]] *ERROR* Invalid edid

...

[ 18.863552][ T318] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out...1:3:6 vs 1:3:5
[ 18.879132][ T318] [drm:cdns_dp_bridge_mode_set [cdns_mhdp_drmcore]] *ERROR* Failed to get caps -5
[ 19.168542][ T318] cdns-mhdp-imx 32c00000.hdmi: Wait PLL Ack failed
[ 19.677573][ T318] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link [cdns_mhdp_drmcore]] *ERROR* training failed: -110
[ 19.689005][ T318] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link [cdns_mhdp_drmcore]] *ERROR* Failed to start training -110
[ 19.701115][ T318] cdns-mhdp-imx 32c00000.hdmi: [drm:cdn_dp_bridge_enable [cdns_mhdp_drmcore]] *ERROR* Failed link train -110

Thanks!

0 Kudos
1 Solution
198 Views
herman_lin
Contributor II

Thanks, it works well now.

View solution in original post

0 Kudos
2 Replies
199 Views
herman_lin
Contributor II

Thanks, it works well now.

0 Kudos
229 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Dear @herman_lin ,

 

See vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts directory, please!

imx8mq-evk-dp.dts is for displayport.

weidong_sun_0-1710830382531.png

 

Try it, please!
Thanks!

Regards,

weidong

 

0 Kudos