适用于 PCM512X 的 Linux 驱动程序
PCM512XSW-LINUX
此产品已上市,且可供购买。 可提供某些产品的较新替代品。

描述/特性

技术文档

支持与培训

订购选项



描述

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 器件 (4)

器件型号 名称 产品系列
PCM5121  具有 PCM 接口和固定音频处理的 2V RMS DIRECTPATH 106dB 音频立体声 DAC  音频转换器 
PCM5122  具有 PCM 接口和固定音频处理的 2V RMS DIRECTPATH 112dB 音频立体声 DAC  音频转换器 
PCM5141  具有 PCM 接口和完全可编程 miniDSP 的 2V RMS DIRECTPATH 106dB 音频立体声 DAC  音频转换器 
PCM5142  具有 PCM 接口和完全可编程 miniDSP 的 2V RMS DIRECTPATH 112dB 音频立体声 DAC  音频转换器 

支持与培训

搜索我们广泛的在线知识库,可全天候获得数百万个技术问题和答案。

从 TI 专家处搜索答案

由TI和其社区用户提供的内容仅符合当时状况,不视为TI的标准说明。
请详见网站使用条款

如果您对质量、包装或订购 TI 产品有疑问,请访问我们的支持页面

技术文章