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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,724 Views
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 Kudos
1 Solution
912 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
913 Views
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 Kudos