ASoC: add TI ts3a227e headset chip driver
authorDylan Reid <dgreid@chromium.org>
Thu, 13 Nov 2014 19:18:29 +0000 (11:18 -0800)
committerMark Brown <broonie@kernel.org>
Fri, 14 Nov 2014 10:46:41 +0000 (10:46 +0000)
commit2880fc877971d6c14b0c76ac09744e3ff5b126d5
tree747d9d292d44ef0320f18130bea77a7b601270eb
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: add TI ts3a227e headset chip driver

The TS3A227E is an autonomous audio accessory detection and
configuration switch that detects 3-pole or 4-pole audio accessories
and configures internal switches to route the signals accordingly.

This chip also has built-in support for the new button standard
described in the Android "Wired audio headset specification" v1.0.
These buttons will be reported on the jack as buttons 0-3 mapped to
KEY_MEDIA, KEY_VOLUMEUP, KEY_VOLUMEDOWN, and KEY_VOICE_COMMAND.

This will be added as an aux_dev and have the jack passed in from the
machine driver.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/ts3a227e.txt [new file with mode: 0644]
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/ts3a227e.c [new file with mode: 0644]
sound/soc/codecs/ts3a227e.h [new file with mode: 0644]