How to assign specific clock frequency to PLL4 in device tree ?

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

How to assign specific clock frequency to PLL4 in device tree ?

跳至解决方案
1,845 次查看
alexandrspivac
Contributor I

Hi

I try to add additional codec to imx 6 SOC in kernel 4.1 :

1. Codec connected to to SSI3 - mux-int-port = <7>; mux-ext-port = <4>;

2. Codec don't receive master clock and must work in master mode - master clock generated internal from bit clock received from ssi;

For now codec works but play very slowly in 48k rate and measured clocks on codec pins about 600 Mhz for bit clok and 20k for word clock.

How to set fixed clock to pll4 and how to append this clock to SSI3 ?

And which clock indemnification i must to bind to codec in device tree?

All Regards.

0 项奖励
回复
1 解答
1,033 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alexandr

one can check available clocks in linux/include/dt-bindings/clock/imx6qdl-clock.h
Please refer to description of Linux common clock framework in :
linux/Documentation/devicetree/bindings/clock/clock-bindings.txt
http://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 回复
1,034 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alexandr

one can check available clocks in linux/include/dt-bindings/clock/imx6qdl-clock.h
Please refer to description of Linux common clock framework in :
linux/Documentation/devicetree/bindings/clock/clock-bindings.txt
http://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 项奖励
回复