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:
Linux Source Files
The files associated with this device are:
- sound/soc/codecs/ts3a227e.c
- Documentation/devicetree/bindings/sound/ts3a227e.txt
- sound/soc/codecs/ts3a227e.h
Source Files
sound/soc/codecs/ts3a227e.cLinux Device Tree Documenation
Documentation/devicetree/bindings/sound/ts3a227e.txtOther 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.