PCM179XSW-LINUX
适用于 PCM179X 的 Linux 驱动程序
PCM179XSW-LINUX
概述
Linux 驱动程序支持用于 PCM179x 器件系列的音频数模转换器 (DAC),通过 I2C 和 SPI 以及寄存器与 Linux 内核的 ASOC 框架进行通信。
Linux 主线状态Linux 主线中提供:是
可通过 git.ti.com 获取:不适用
Linux 源文件
与该器件关联的文件为:
- sound/soc/codecs/pcm179x.c
- sound/soc/codecs/pcm179x-i2c.c
- sound/soc/codecs/pcm179x-spi.c
- Documentation/devicetree/bindings/sound/pcm179x.txt
源文件
- sound/soc/codecs/pcm179x.c
- sound/soc/codecs/pcm179x.h
- sound/soc/codecs/pcm179x-i2c.c
- sound/soc/codecs/pcm179x-spi.c
启用驱动程序支持
使用“make menuconfig”(也可以使用“make xconfig”或“make nconfig”)配置内核
Menuconfig 位置
Symbol: SND_SOC_PCM179X [=y] Type : tristate Defined at sound/soc/codecs/Kconfig:541 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] Selected by: SND_SOC_PCM179X_I2C [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] || SND_SOC_PCM179X_SPI [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y] Symbol: SND_SOC_PCM179X_I2C [=y] Type : tristate Prompt: Texas Instruments PCM179X CODEC (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:544 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] Selects: SND_SOC_PCM179X [=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_PCM179X_SPI [=y] Type : tristate Prompt: Texas Instruments PCM179X CODEC (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:552 Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y] Selects: SND_SOC_PCM179X [=y] Selected by: SND_SOC_ALL_CODECS [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && SPI_MASTER [=y]
修复程序和代码增强
如果有需要添加到此驱动程序的修复程序和/或代码增强,请执行以下任一操作:1.将补丁发送到维护人员文件中列出的相关 Linux 内核社区,该文件位于:此处或 2.联系您的 TI 代表。