How to set imx6 audio pll clock in linux

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

How to set imx6 audio pll clock in linux

1,733件の閲覧回数
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,115件の閲覧回数
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,115件の閲覧回数
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 件の賞賛
返信