Linux Driver for PCM512X
PCM512XSW-LINUX
This product has been released to the market and is available for purchase. For some products, newer alternatives may be available.

Description & Features

Technical Documents

Support & Training

Order Now



Description

The Linux driver supports the PCM512x family of Audio Stereo DACs. The Linux driver supports communication through I2C and SPI, and registers with the ASOC framework of the Linux kernel.

Linux Mainline Status

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

Supported Devices:

  • pcm5121
  • pcm5122
  • pcm5141
  • pcm5142

 

Linux Source Files

The files associated with this device are:

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

Source Files

sound/soc/codecs/pcm512x.c
sound/soc/codecs/pcm512x-i2c.c
sound/soc/codecs/pcm512x-spi.c

Linux Device Tree Documenation

Documentation/devicetree/bindings/sound/pcm512x.txt

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  : tristate
Prompt: 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  : tristate
Prompt: 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 this
driver please either

1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Here

or

2.  Contact your TI representative.

 

TI Devices (4)

Part Number Name Product Family
PCM5121  2V RMS DIRECTPATH 106dB Audio Stereo DAC with PCM interface and fixed Audio processing  Audio converters 
PCM5122  2V RMS DIRECTPATH 112dB Audio Stereo DAC with PCM Interface and Fixed Audio Processing  Audio converters 
PCM5141  2V RMS DIRECTPATH 106dB Audio Stereo DAC with PCM interface and fully programmable miniDSP  Audio converters 
PCM5142  2V RMS DIRECTPATH 112dB Audio Stereo DAC with PCM interface and fully programmable miniDSP  Audio converters 

Support & training

Search our extensive online knowledge base where millions of technical questions and answers are available 24/7.

Search answers from TI experts

Content is provided 'AS IS' by the respective 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 visit our Support page.

Technical articles