Hi,
We have setup Yocto project 4.9.11_1.0.0 on a imx6qpsabresd based custom board which has two of wm8962 audio codecs.
We have customized device tree file imx6qdl-sabresd.dtsi for dual audio codec configuration.
We are seeing both the audio codecs are getting detected, but both the sound cards are failing to record the sound.
When we execute the arecord command it is able to output the recorded file but there will be no content in that.We have used following commands to record the sound.
For primary codec
arecord -D plughw:0,0 -d 10 -r 44100 -f S16_LE file1.wav
For secondary codec
arecord -D plughw:1,0 -d 10 -r 44100 -f S16_LE file2.wav
We have tested each sound card interface by separately enabling them in device tree. It worked fine. However, we are seeing this issue when both the sound card interfaces are enabled.
We can confirm that there are no issues with the hardware interfaces. Based on our observations & debugging, there seems to be issue with the SSI mapping.
We would like to know if anyone has faced same issue and resolved.
We are getting "Unsupported sysclk ratio 544" error for secondary audio codec.
Please find the attached files for Dual sound card configuration and dmesg log
Please let us know if we are missing something in dts file.
Note:We have not modified Machine driver, Platform driver and codec driver.We are using same drivers for both the audio codecs.
Regards,
Devika R