TS3A227ESW-LINUX

Linux Driver for TS3A227E

TS3A227ESW-LINUX

Overview

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.

 

 

Audio switches
TS3A227E 60-mΩ, 4.5-V, autonomous audio accessory detection & configuration switch with I2C
Download View video with transcript Video

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by 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, see TI support.

Videos