Is there a document specifying all the codec signal formats & configurations for the iMX8 audio module ?
I need to connect two off Texas Instruments TLV320AIV20 series codecs to the iMX8. Despite being old these are still made, but mainly as customer has extensive qualified hardware and software for these devices.
These codecs use a clock, data in, data out and a frame sync signal. The frame sync is pulsed high for one cycle before the MSB is clocked out/in. These are 16 bit two channel devices.
So any documentation (& software) pointers would be helpful.
Solved! Go to Solution.
Hi,
There's still a bit around for this device so that's a good start! Within my Yocto build this driver still exists so check your build /sound/soc/codecs/tlv320*.c and see what you've got; it might just be a matter of selecting it in your kernel config and bolting it up. The driver will take care of all the framing etc leaving the physical connections; have a scratch around for circuit/dev board examples of the iMX8 TDM connections and device tree adjustments.
https://github.com/torvalds/linux/blob/master/sound/soc/codecs/tlv320aic3x.c
menuconfig
Device Drivers > Sound card support > Advanced Linux Sound Architecture > ALSA for SoC audio support > CODEC drivers
< > Texas Instruments TLV320AIC23 audio CODEC - I2C
< > Texas Instruments TLV320AIC23 audio CODEC - SPI
< > Texas Instruments TLV320AIC31xx CODECs
< > Texas Instruments TLV320AIC32x4 audio CODECs - I2C
< > Texas Instruments TLV320AIC32x4 audio CODECs - SPI
< > Texas Instruments TLV320AIC3x audio CODECs - I2C
< > Texas Instruments TLV320AIC3x audio CODECs - SPI
< > Texas Instruments TLV320ADCX140 CODEC family
Hi,
There's still a bit around for this device so that's a good start! Within my Yocto build this driver still exists so check your build /sound/soc/codecs/tlv320*.c and see what you've got; it might just be a matter of selecting it in your kernel config and bolting it up. The driver will take care of all the framing etc leaving the physical connections; have a scratch around for circuit/dev board examples of the iMX8 TDM connections and device tree adjustments.
https://github.com/torvalds/linux/blob/master/sound/soc/codecs/tlv320aic3x.c
menuconfig
Device Drivers > Sound card support > Advanced Linux Sound Architecture > ALSA for SoC audio support > CODEC drivers
< > Texas Instruments TLV320AIC23 audio CODEC - I2C
< > Texas Instruments TLV320AIC23 audio CODEC - SPI
< > Texas Instruments TLV320AIC31xx CODECs
< > Texas Instruments TLV320AIC32x4 audio CODECs - I2C
< > Texas Instruments TLV320AIC32x4 audio CODECs - SPI
< > Texas Instruments TLV320AIC3x audio CODECs - I2C
< > Texas Instruments TLV320AIC3x audio CODECs - SPI
< > Texas Instruments TLV320ADCX140 CODEC family