Hi All,
I am working on IMXQ SD based custom board. In my custom board , tlv320aic23 is used as Audio codec. I have made the code changes in the board file and configurations as per the below thread
https://community.freescale.com/thread/323017
But still my sudio codec is not detected by ALSA.
Below is the error message
~~~~~~~~~~~~~
ALSA device list:
No soundcards found.
Thanks,
P.Ashok
Hello Ashok,
linux ALSA driver includes 3 parts of module:
1. platform driver ( CPU SSI / PCM side)
2. codec driver ( codec side)
3. machine driver ( CPU DAI interface -->CODEC DAI interface)
in face , the sound card we often mention is machine driver. So I suggest you should check the following steps:
(1)Did you finish machine driver ?
(2)I2C communication.
the codec you are using should be configured by I2C bus, so you can trace and debug code to confirm if CPU can access registers in codec by I2C.
please try it again !
Regards,
weidong
Hi weidong,
Thanks for your reply. I added the patches in the android kernel and audio is working fine .
Since android doesn't have aplay I tested the audio using the Linux filesystem(yocto) + Android kernel.
Please let me know is there any tools(similar to aplay) to test the audio in android.
Thanks,
P.Ashok