summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ts3a227e.c
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: ts3a227e: Check and report jack status at probeCheng-Yi Chiang2015-01-051-0/+6
| | | | | | | | | | | ts3a227e does not trigger interrupt to report jack status when system boots from warm reset because ts3a227e's power remains on during warm reset. Read jack status at probe to get current jack status. Note that if system boots from EC reset, then this issue will not happen. Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: add TI ts3a227e headset chip driverDylan Reid2014-11-141-0/+314
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>
OpenPOWER on IntegriCloud