TS3A227ESW-LINUX

适用于 TS3A227E 的 Linux 驱动程序

TS3A227ESW-LINUX

概述

The Linux driver supports the TS3A227E Autonomous Audio Accessory Detection and Configuration Switch. The Linux driver supports communication through the I2C bus and interfaces with the Linux Sound SoC Component framework.

 

Linux Mainline Status

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

Supported Devices:

  • ts3a227e

 

Linux Source Files

The files associated with this device are:

  1. sound/soc/codecs/ts3a227e.c
  2. Documentation/devicetree/bindings/sound/ts3a227e.txt
  3. sound/soc/codecs/ts3a227e.h

Source Files

sound/soc/codecs/ts3a227e.c

Linux Device Tree Documenation

Documentation/devicetree/bindings/sound/ts3a227e.txt

Other Files

sound/soc/codecs/ts3a227e.h

 

Enabling Driver Support

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

Menuconfig Location

Symbol: SND_SOC_TS3A227E [=y]Type  : tristatePrompt: TI Headset/Mic detect and keypress chip  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:847  Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y]  Selected by: SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && X86_INTEL_LPSS && I2C [=y] && ACPI || SND_SOC_ROCKCHIP_MAX98090 [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_ROCKCHIP [=y] && I2C [=y] && GPIOLIB [=y] && CLKDEV_LOOKUP [=y] || SND_SOC_ALL_CODECS [=y] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && I2C [=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.

 

 

音频开关
TS3A227E 具有 I2C 的 60mΩ 4.5V 自主音频附件检测和配置开关
下载 观看带字幕的视频 视频

支持与培训

可获得 TI E2E™ 论坛的工程师技术支持

查看全部论坛主题 查看英文版全部论坛主题

所有内容均由 TI 和社区贡献者按“原样”提供,并不构成 TI 规范。请参阅使用条款

如果您对质量、包装或订购 TI 产品有疑问,请参阅 TI 支持

视频