About imx8mp hdmi clock documentation

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

About imx8mp hdmi clock documentation

Jump to solution
1,785 Views
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.
Tags (1)
0 Kudos
Reply
1 Solution
1,751 Views
joanxie
NXP TechSupport
NXP TechSupport

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

 

View solution in original post

0 Kudos
Reply
5 Replies
1,777 Views
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 Kudos
Reply
1,774 Views
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 Kudos
Reply
1,766 Views
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 Kudos
Reply
1,761 Views
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 Kudos
Reply
1,752 Views
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 Kudos
Reply