Linux Driver for TPA6130A2



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 Status

Available in Linux Main line: Yes
Available through N/A

Supported Devices:
  • tpa6130a2
  • tpa6140a2
Linux Source Files

The files associated with this device are:

  1. sound/soc/codecs/tpa6130a2.c
  2. Documentation/devicetree/bindings/sound/tpa6130a2.txt
  3. sound/soc/codecs/tpa6130a2.h
  4. 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


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.




Headphone amps
TPA6130A2 138-mW, stereo, analog input headphone amplifier with I2C control interface TPA6140A2 32-mW, stereo, analog input headphone amplifier with I2C volume control
Download View video with transcript Video

Get started

  1. Order TPA6130A2EVM
  2. Download - source files on this page

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support.