Example for using CCM_CLKO1 on i.MX7D?

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

Example for using CCM_CLKO1 on i.MX7D?

跳至解决方案
1,288 次查看
skrap
Contributor IV

Hello,

I'm a bit confused as to how the i.MX7d's CCM_CLKO1 and CCM_CLKO2 are intended to be used.  I see that there are entries in the devtree bindings for the root src, the dividers, etc, but I don't see the expected entries for the clocks themselves.

#define IMX7D_CLKO1_ROOT_SRC       338
#define IMX7D_CLKO1_ROOT_CG       339
#define IMX7D_CLKO1_ROOT_DIV      340
#define IMX7D_CLKO2_ROOT_SRC      341
#define IMX7D_CLKO2_ROOT_CG       342
#define IMX7D_CLKO2_ROOT_DIV      343
#define IMX7D_CLKO1_ROOT_PRE_DIV    406
#define IMX7D_CLKO2_ROOT_PRE_DIV   407

I would also expect to see IMX7D_CLKO1_ROOT_CLK and IMX7D_CLKO2_ROOT_CLK.  Is it hiding somewhere that I haven't found yet?  Or is there a different name for those clocks?

More broadly, is there an example of these clocks being used anywhere?

标签 (1)
0 项奖励
回复
1 解答
1,039 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jonah

one can check similar issue

i.MX7D 24MHz clock output to CCM_CLK1_P pin 

and linux/Documentation/devicetree/bindings/clock/clock-bindings.txt

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,040 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jonah

one can check similar issue

i.MX7D 24MHz clock output to CCM_CLK1_P pin 

and linux/Documentation/devicetree/bindings/clock/clock-bindings.txt

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复