Linux Driver for TS3A227E
This product has been released to the market and is available for purchase. For some products, newer alternatives may be available.

Description & Features

Technical documentation

Support & Training

Order Now


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 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


Linux Device Tree Documenation


Other Files



Enabling Driver Support

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

Menuconfig Location

Symbol: SND_SOC_TS3A227E [=y]
Type  : tristate
Prompt: TI Headset/Mic detect and keypress chip
    -> 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 this
driver please either

1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Here


2.  Contact your TI representative.



TI Devices (1)

Part Number Name Product Family
TS3A227E  60-mΩ, 4.5-V, autonomous audio acessory detection & configuration switch with I2C  Switches & multiplexers 

Support & training

Search our extensive online knowledge base where millions of technical questions and answers are available 24/7.

Search answers from TI experts

Content is provided 'AS IS' by the respective 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 visit our Support page.

Technical articles