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

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

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

ソリューションへジャンプ
1,912件の閲覧回数
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,100件の閲覧回数
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,101件の閲覧回数
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 件の賞賛
返信