Imx8mq - hdmi fails to initialise in u-boot because cmn_ready is not set

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

Imx8mq - hdmi fails to initialise in u-boot because cmn_ready is not set

589 次查看
wenyong
Contributor I

Dear NXP engineers, 

 

I have a customised board which has the same HDMI design as imx8mq evk board. 

However, in u-boot, it often fails at checking the cmn_ready bit of HDMI's PMA. 

It's in API_AFE_t28hpc_hdmitx.c -> phy_cfg_t28hpc

It will wait for cmn_ready forever. 

wenyong_0-1733892677833.png

 

If I unplug power and connect power,  u-boot would be able to pass this check. 

If I just reboot the Linux or run reset in u-boot, it would mostly fail here. 

 

Could you help to explain what is cmn_ready? and in what cases it might fail?

Anything I can check on hardware side?

 

Thanks,

Wenyong

 

 

 

标签 (1)
0 项奖励
回复
2 回复数

413 次查看
wenyong
Contributor I

Hi @joanxie

This issue seems to be power related. 

In u-boot, we don't have PMIC driver configured, our PMIC is on i2c4 and we are still trying to make it work. 

However, we experience i2c4 errors after we enable i2c4 and pmic drivers. 

0 项奖励
回复

544 次查看
joanxie
NXP TechSupport
NXP TechSupport

when did you get this issue? would you get this issue when you boot up the board first time? HDMI FW loading is done by the ROM, if you use reset, it wouldn't be reload again, and HDMI doesn't support SW reset, I'm not sure how you trigger this issue, for cmn_ready,according to your code, this is set by the bit0 of PMA common control1 register (phy_pma_cmn_ctrl1), and for this bit, means detect the ready signal, Wait for 0th bit to be 1'b1.

joanxie_0-1734338873962.png

 

 

 

0 项奖励
回复