About imx8mp hdmi clock documentation

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

About imx8mp hdmi clock documentation

跳至解决方案
1,785 次查看
Chun1
Contributor II
When I write the hdmi clock of imx8mp, I found that the bit used by Linux does not match the documentation. The bits is called 'hdmi_fdcc_ref' in Linux, and it use the second bit of register HDMI_RTX_CLK_CTL1(0x50). But the bit described in the document is reserved. Is my document not up-to-date? Or is it for some other reason? The document I use is iMX_8M_Plus_RM_RevD.pdf. Thanks.
标记 (1)
0 项奖励
回复
1 解答
1,751 次查看
joanxie
NXP TechSupport
NXP TechSupport

I just copy the content from IP spec, you just set the same as our bsp does

 

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,777 次查看
joanxie
NXP TechSupport
NXP TechSupport

D version is the latest version, could you send the source path you mention 'hdmi_fdcc_ref' in Linux

0 项奖励
回复
1,774 次查看
Chun1
Contributor II

I clone the code from link:https://source.codeaurora.org/external/imx/linux-imx

and  checkout to the branch: imx_5.4.70_2.3.0

the code is in `imx_hdmimix_clk_probe` function of the file `drivers/clk/imx/clk-hdmimix.c`.

 clks[IMX8MP_CLK_HDMIMIX_FDCC_REF_CLK]      = imx_dev_clk_gate(dev, "hdmi_fdcc_ref",    "hdmi_fdcc_tst", base + 0x50, 2);
    clks[IMX8MP_CLK_HDMIMIX_HRV_MWR_APB_CLK]   = imx_dev_clk_gate(dev, "hrv_mwr_apb",       "hdmi_glb_apb", base + 0x50, 3);
0 项奖励
回复
1,766 次查看
joanxie
NXP TechSupport
NXP TechSupport

thanks for your information, I checked the hdmi IP,

FDCC_REF_CLK_EN: FDCC_REF_CLK_EN control
clock enable for the ref_clk input of FDCC

you can refer to this

0 项奖励
回复
1,761 次查看
Chun1
Contributor II

'''

FDCC_REF_CLK_EN: FDCC_REF_CLK_EN control
clock enable for the ref_clk input of FDCC

'''

You mean this is the description of bit2 of HDMI_RTX_CLK_CTL1(0x50), not the reserved value

 

0 项奖励
回复
1,752 次查看
joanxie
NXP TechSupport
NXP TechSupport

I just copy the content from IP spec, you just set the same as our bsp does

 

0 项奖励
回复