驱动程序或库
PCM5XXX-DRIVERS
PCM5xxx DAC 系列 Linux 驱动程序支持
PCM5XXX-DRIVERS
概述
Linux 驱动程序支持用于 PCM51xx 器件系列的音频立体声数模转换器 (DAC),通过 I2C 和 SPI 以及寄存器与 Linux 内核的 ASOC 框架进行通信。点击下方的“Go to third party”按钮将转到 git.kernal.org,您可从中下载相应的驱动程序。
Linux 主线状态
Linux 主线中提供:是
可通过 git.ti.com 获取:不适用
Linux 源文件
与该器件关联的文件为:
- sound/soc/codecs/pcm5102a.c
- sound/soc/codecs/pcm512x.c
- sound/soc/codecs/pcm512x-i2c.c
- sound/soc/codecs/pcm512x-spi.c
- Documentation/devicetree/bindings/sound/pcm512x.txt
- sound/soc/codecs/pcm512x.h
源文件
Linux 器件树文档
- Documentation/devicetree/bindings/sound/pcm5102a.txt
- Documentation/devicetree/bindings/sound/pcm512x.txt
其他文件 sound/soc/codecs/pcm512x.h
启用驱动程序支持
使用“make menuconfig”(也可以使用“make xconfig”或“make nconfig”)配置内核
Menuconfig 位置
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]
修复程序和代码增强
如果有需要添加到此驱动程序的修复程序和/或代码增强,请执行以下任一操作:1.将补丁发送到维护人员文件中列出的相关 Linux 内核社区,该文件位于:此处或 2.联系您的 TI 代表。
下载
驱动程序或库
PCM512X-SPI-LINUX — .c SPI 控制接口驱动器,用于 PCM512x
驱动程序或库
PCM5102A-C-LINUX — .c 驱动器,用于 PCM5102A
驱动程序或库
PCM512X-C-LINUX — .c 驱动器,用于 PCM512x
驱动程序或库