AnsweredAssumed Answered

i.MX6DL cko2 audio clock 24MHz stopped

Question asked by torus1000 on Jul 6, 2017
Latest reply on Jul 11, 2017 by Wigros Sun

Now debugging our board, sound card recognized correctly but audio clock 24MHz stopped as following.

(1) Our Custom i.MX6DL board

 

root@imx6qpsabresd:/unit_tests# aplay audio8k16S.wav audio8k16S.wav audio8k16S.wav &
root@imx6qpsabresd:/unit_tests# ./dump-clocks.sh
clock parent flags en_cnt pre_cnt rate
ckil       --- 00000030 0 0 32768
ckih1    --- 00000030 0 0 0
osc       --- 00000030 6 6 24000000
...
cko2_sel    --- 000000a2 0 0 24000000
cko             --- 000000a2 0 0 24000000
cko2_podf --- 00000025 0 0 24000000
ssi2_ipg       --- 00000005 0 0 66000000
cko2                --- 00000024 0 0 24000000

 

(2) Sabre-SD board (No problem)

 

root@imx6qpsabresd:/unit_tests# aplay audio8k16S.wav audio8k16S.wav audio8k16S.wav &
root@imx6qpsabresd:/unit_tests# ./dump-clocks.sh
clock parent flags en_cnt pre_cnt rate
ckil       --- 00000030 0 0 32768
ckih1    --- 00000030 0 0 0
osc       --- 00000030 6 6 24000000
...
cko2_sel    --- 000000a2 1 1 24000000
cko             --- 000000a2 1 1 24000000
cko2_podf    --- 00000025 1 1 24000000
ssi2_ipg          --- 00000005 1 1 66000000
cko2                   --- 00000024 1 1 24000000


How can we debug this issue?

Is there any chance MIPI or other modules stop cko output?

 

We modified dtsi file as following but other hardware were almost same as sabre board.

+ codec: adau1701@34 {
+ compatible = "adi,adau1701";
+ reg = <0x34>;
+ clocks = <&clks IMX6QDL_CLK_CKO>;                               //clocks = <&clks 201>;

Can anyone help me?

Outcomes