Hi all,
Now I'm trying to replace the wm8960 with TI's TLV320ADC6140 to act as the codec for the sound card.
The base code is from TI: https://www.ti.com.cn/tool/cn/TLV320ADCX140SW-DRIVERS
And this code can't work directly, but I fixed it with the post of Nvidia: https://forums.developer.nvidia.com/t/tlv320adcx140-audio-adc-with-tx2/122311
Now the codec could register successfully.
But the sound card still not work, it needs the "mclk", and report "failed to get codec clk: -2" in imx-wm8960.c. And I am not sure how to fix this.
Anyone knows the issue?
Best regards~
Chad
Hello,
There are no examples about how to support a dual codec configuration but should be similar to one codec configuration as separated sound cards with the respective device tree configuration and external connections.
Bets regards.
Hello, I hope you are doing well.
Your TLV320ADCX140 seems to use the tlv320adcx140.c and tlv320adcx140.h source codes but your log is reporting an error in imx-wm8960.c file.
I suggest you take a look on this post.
Best regards.
Dear @JorgeCas ,
Thanks for your reply.
Like I said before, now my codec driver should be fine, and this codec driver is based on TI.
But I still need a machine driver, like imx-wm8960.c.
And I am not sure how to implement this file for TLV320ADC6140. So I tried to connect the codec to the cpu via imx-wm8960.c.
Is this a good choice? Or maybe I should use eukrea-tlv320.c is better?
Thanks
Chad
Hi @JorgeCas ,
Now there are 2 codecs on my board, So I enabled the SAI1 and SAI2。
Then when I tried to config the route, How do I deal with CPU-Capture?
Thanks
Chad