The Linux driver supports the TLV320AIC32x device family of low-power stereo CODECs, communication through the I2C and SPI bus, and interfaces with the Linux Dynamic Audio Power Management for Portable Devices (DAPM) class.
Linux main line statusAvailable in Linux Main line: Yes
Available through git.ti.com: Yes
Linux source files
The files associated with this device are:
- sound/soc/codecs/tlv320aic32x4.c
- sound/soc/codecs/tlv320aic32x4-i2c.c
- sound/soc/codecs/tlv320aic32x4-spi.c
- Documentation/devicetree/bindings/sound/tlv320aic32x4.txt
- sound/soc/codecs/tlv320aic32x4.h
- include/sound/tlv320aic32x4.h
Source files
Linux device tree documenation Documentation/devicetree/bindings/sound/tlv320aic32x4.txt
Other files
Enabling driver support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or "make nconfig")
Menuconfig location
Symbol: SND_SOC_TLV320AIC32X4 [=y]Type : tristate Defined at sound/soc/codecs/Kconfig:827 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] Selected by: SND_SOC_MX27VIS_AIC32X4 [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SND_IMX_SOC [=y] && MACH_IMX27_VISSTRIM_M10 [=y] && I2C [=y] || SND_SOC_TLV320AIC32X4_I2C [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] || SND_SOC_TLV320AIC32X4_SPI [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y]Symbol: SND_SOC_TLV320AIC32X4_I2C [=y]Type : tristate Defined at sound/soc/codecs/Kconfig:830 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] Selects: SND_SOC_TLV320AIC32X4 [=y] Selected by: SND_SOC_ALL_CODECS [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && I2C [=y]Symbol: SND_SOC_TLV320AIC32X4_SPI [=y]Type : tristate Defined at sound/soc/codecs/Kconfig:835 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y] Selects: SND_SOC_TLV320AIC32X4 [=y] Selected by: SND_SOC_ALL_CODECS [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && SPI_MASTER [=y]Symbol: SND_SOC_TLV320AIC32X4_I2C [=y]Type : tristate Defined at sound/soc/codecs/Kconfig:830 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] Selects: SND_SOC_TLV320AIC32X4 [=y] Selected by: SND_SOC_ALL_CODECS [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && I2C [=y]Symbol: SND_SOC_TLV320AIC32X4_SPI [=y]Type : tristate Defined at sound/soc/codecs/Kconfig:835 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y] Selects: SND_SOC_TLV320AIC32X4 [=y] Selected by: SND_SOC_ALL_CODECS [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && SPI_MASTER [=y]
Fixes and code enhancements
If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2. Contact your TI representative.