Hello,
We are trying to bring up Display Port on our board which is based on iMX8M CPU but unfortunately we are having issues and don't know whether it is related to our design or the driver provided by NXP.
Below you can find the DP firmware version, device tree ( attached ), kernel boot log and kernel version we are currently using.
firmware version - freescale-imx-8.11.bin
kernel version - 5.4.70
1.742678] cdns-mhdp-imx 32c00000.hdmi: lane-mapping 0xc6
[ 1.770470] cdns-mhdp-imx 32c00000.hdmi: wrong link rate index
[ 1.843370] imx-dcss 32e00000.display-controller: bound 32c00000.hdmi (ops cdns_mhdp_imx_ops)
[ 1.853325] [drm] Initialized imx-dcss 1.0.0 20190917 for 32e00000.display-controller on minor 0
[ 1.907432] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_get_edid_block] *ERROR* get block[0] edid failed: -22
[ 1.917369] [drm:cdns_dp_connector_get_modes] *ERROR* Invalid edid
[ 1.973122] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_get_edid_block] *ERROR* get block[0] edid failed: -22
[ 1.973132] [drm:cdns_dp_connector_get_modes] *ERROR* Invalid edid
[ 1.973312] [drm] Mode: 1024x768p65000
[ 2.245657] [drm:cdns_dp_bridge_mode_set] *ERROR* Failed to get caps -5
[ 2.768833] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link] *ERROR* training failed: -110
[ 2.768844] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link] *ERROR* Failed to start training -110
[ 2.768853] cdns-mhdp-imx 32c00000.hdmi: [drm:cdn_dp_bridge_enable] *ERROR* Failed link train -110
[ 2.828648] Console: switching to colour frame buffer device 128x48
[ 2.904586] imx-dcss 32e00000.display-controller: fb0: imx-dcssdrmfb frame buffer device
Please let us know what we are doing wrong.
Regards,
Gor.
Confirmed with upcoming L5.4.70_2.3.2 release that DP works using:
these steps are for imx8mq evk board, you can refer to it