How to set imx6 audio pll clock in linux

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

How to set imx6 audio pll clock in linux

2,237 次查看
arc_lin
Contributor II

I am reference this doc to config pll4 clock.

How can I set CCM_ANALOG_PLL_AUDIO_NUM to "672" and set CCM_ANALOG_PLL_AUDIO_DENOM to "1000" in linux (imx_4.9.11_1.0.0_ga)?

I can't find any related clock device in clk-imx6q.c.

and How to set CCM_ANALOG_PLL_AUDIO.POWERDOWN to 0 if there is no clock device in clk-imx6q.c?

Thanks!

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

1,619 次查看
igorpadykov
NXP Employee
NXP Employee

Hi arc

please look at L4.9.11 audio clock considerations on

TLV320AIC3256 and MX6DL on Linux 4.9 kernel question 

linux clock framework presentation

https://elinux.org/images/b/b8/Elc2013_Clement.pdf 

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

0 项奖励
回复

1,619 次查看
arc_lin
Contributor II

Hi Igor

Thank for your reply, this doc "linux clock framework presentation" gives me lots help.

In Where can I change SSI's sys clock (from 11.2896 MHz to 12.288 MHz) 

I know some way like this:

*(volatile unsigned int*) CCM_ANALOG_PLL_AUDIO_NUM = 84;

*(volatile unsigned int*) CCM_ANALOG_PLL_AUDIO_DENOM = 125;

to set AUDIO_NUM and AUDIO_DENOM in kernel,
Is that the only way to set AUDIO_NUM and AUDIO_DENOM register in kernel ?

Thanks!

0 项奖励
回复