About imx8mp hdmi clock documentation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About imx8mp hdmi clock documentation

ソリューションへジャンプ
2,723件の閲覧回数
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 解決策
2,689件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

 

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
2,715件の閲覧回数
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 件の賞賛
返信
2,712件の閲覧回数
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 件の賞賛
返信
2,704件の閲覧回数
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 件の賞賛
返信
2,699件の閲覧回数
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 件の賞賛
返信
2,690件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 件の賞賛
返信