forked from Minki/linux
68688e78ed
Speyside makes use of support the WM8915 has for detecting the polarity of the microphone and ground connections on headsets, using a GPIO to control the polarity of the ground connection and switching between the two microphone bias supplies available on the device in order to do so. As a result of this the detection support is more involved than for most other CODECs, using a callback to configure the current polarity of the jack and translate this into the board-specific connections required for the current scenario. On Android some additional work is required to hook this up to the application layer as the Android HeadsetObserver monitors a custom drivers/switch API rather than the standard Linux APIs. This can be done by either updating HeadsetObserver or modifying the ALSA core to report via drivers/switch as well. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Jassi Brar <jassisinghbrar@gmail.com> Acked-by: Liam Girdwood <lrg@ti.com> |
||
---|---|---|
.. | ||
ac97.c | ||
dma.c | ||
dma.h | ||
goni_wm8994.c | ||
h1940_uda1380.c | ||
i2s.c | ||
i2s.h | ||
jive_wm8750.c | ||
Kconfig | ||
ln2440sbc_alc650.c | ||
Makefile | ||
neo1973_wm8753.c | ||
pcm.c | ||
pcm.h | ||
regs-i2s-v2.h | ||
rx1950_uda1380.c | ||
s3c24xx_simtec_hermes.c | ||
s3c24xx_simtec_tlv320aic23.c | ||
s3c24xx_simtec.c | ||
s3c24xx_simtec.h | ||
s3c24xx_uda134x.c | ||
s3c24xx-i2s.c | ||
s3c24xx-i2s.h | ||
s3c2412-i2s.c | ||
s3c2412-i2s.h | ||
s3c-i2s-v2.c | ||
s3c-i2s-v2.h | ||
smartq_wm8987.c | ||
smdk2443_wm9710.c | ||
smdk_spdif.c | ||
smdk_wm8580.c | ||
smdk_wm8580pcm.c | ||
smdk_wm8994.c | ||
smdk_wm9713.c | ||
spdif.c | ||
spdif.h | ||
speyside.c |