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!
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!
-----------------------------------------------------------------------------------------------------------------------
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!