PCM5XXX-DRIVERS

PCM5xxx DAC family Linux driver support

PCM5XXX-DRIVERS

Downloads

Overview

The Linux driver supports the PCM51xx device family of audio stereo digital-to-analog converters (DACs), communication through I2C and SPI, and registers with the ASOC framework of the Linux kernel. The "Go to third party" buttons below will allow you to downlod the appropriate drivers from git.kernal.org.

Linux main line status

Available in Linux main line: Yes
Available through git.ti.com: N/A

Linux source files

The files associated with this device are:

  1. sound/soc/codecs/pcm5102a.c
  2. sound/soc/codecs/pcm512x.c
  3. sound/soc/codecs/pcm512x-i2c.c
  4. sound/soc/codecs/pcm512x-spi.c
  5. Documentation/devicetree/bindings/sound/pcm512x.txt
  6. sound/soc/codecs/pcm512x.h

Source files

Linux device tree documenation

Other files sound/soc/codecs/pcm512x.h

 

Enabling driver support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")

Menuconfig location

Symbol: SND_SOC_PCM512x [=y]Type  : tristate  Defined at sound/soc/codecs/Kconfig:578  Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y]  Selected by: SND_SOC_PCM512x_I2C [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] || SND_SOC_PCM512x_SPI [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y]Symbol: SND_SOC_PCM512x_I2C [=y]Type  : tristatePrompt: Texas Instruments PCM512x CODECs - I2C  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:581  Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y]  Selects: SND_SOC_PCM512x [=y] && REGMAP_I2C [=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_PCM512x_SPI [=y]Type  : tristatePrompt: Texas Instruments PCM512x CODECs - SPI  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:587  Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y]  Selects: SND_SOC_PCM512x [=y] && REGMAP_SPI [=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.
Download View video with transcript Video

Downloads

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.