The Linux driver supports the TPA61x0A2 family of Stereo Headphone Amplifiers. The Linux driver supports communication through the I2C bus and interfaces with the Linux DAPM (Dynamic Audio Power Management for Portable Devices) class.
Linux Mainline StatusAvailable in Linux Main line: Yes
Available through git.ti.com: N/A
Supported Devices:Linux Source FilesThe files associated with this device are:
- sound/soc/codecs/tpa6130a2.c
- Documentation/devicetree/bindings/sound/tpa6130a2.txt
- sound/soc/codecs/tpa6130a2.h
- include/sound/tpa6130a2-plat.h
Source Files sound/soc/codecs/tpa6130a2.c Linux Device Tree Documenation Documentation/devicetree/bindings/sound/tpa6130a2.txt Other Files sound/soc/codecs/tpa6130a2.h include/sound/tpa6130a2-plat.h
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or "make nconfig")
Menuconfig Location
Symbol: SND_SOC_TPA6130A2 [=y]Type : tristatePrompt: Texas Instruments TPA6130A2 headphone amplifier Location: -> Device Drivers -> Sound card support (SOUND [=y]) -> Advanced Linux Sound Architecture (SND [=y]) -> ALSA for SoC audio support (SND_SOC [=y]) -> CODEC drivers Defined at sound/soc/codecs/Kconfig:1070 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] Selected by: SND_OMAP_SOC_RX51 [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SND_OMAP_SOC [=y] && ARM [=y] && I2C [=y] && GPIOLIB [=y] || SND_SOC_ALL_CODECS [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && I2C [=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.