mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
276c62225a
This patch adds DAPM implementaion for the capture path on twlx030. TWL has two physical ADC and two digital microphone (stereo) connections. The CPU interface has four microphone channels. For simplicity the microphone channel paths are named as: TX1 (Left/Right) - when using i2s mode, only the TX1 data is valid TX2 (Left/Right) Input routing (simplified version): There is two levels of mux settings for TWL in input path: Analog input mux: ADCL <- {Off, Main mic, Headset mic, AUXL, Carkit mic} ADCR <- {Off, Sub mic, AUXR} Analog/Digital mux: TX1 Analog mode: TX1L <- ADCL TX1R <- ADCR TX1 Digital mode: TX1L <- Digimic0 (Left) TX1R <- Digimic0 (Right) TX2 Analog mode: TX2L <- ADCL TX2R <- ADCR TX2 Digital mode: TX2L <- Digimic1 (Left) TX2R <- Digimic1 (Right) The patch provides the following user controls for the capture path: Mux settings: "TX1 Capture Route": {Analog, Digimic0} "TX2 Capture Route": {Analog, Digimic1} "Analog Left Capture Route": {Off, Main Mic, Headset Mic, AUXL, Carkit Mic} "Analog Right Capture Route": {Off, Sub Mic, AUXR} Volume/Gain controls: "TX1 Digital Capture Volume": Stereo gain control for TX1 path "TX2 Digital Capture Volume": Stereo gain control for TX2 path "Analog Capture Volume": Stereo gain control for the analog path only Important things for the board files: Microphone bias: "Mic Bias 1": Bias for Main mic or for digimic0 (analog or digital path) "Mic Bias 2": Bias for Sub mic or for digimic1 (analog or digital path) "Headset Mic Bias": Bias for Headset mic When the routing configured correctly only the needed components will be powered/enabled. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> |
||
---|---|---|
.. | ||
ac97.c | ||
ac97.h | ||
ad1980.c | ||
ad1980.h | ||
ad73311.c | ||
ad73311.h | ||
ak4535.c | ||
ak4535.h | ||
cs4270.c | ||
cs4270.h | ||
Kconfig | ||
l3.c | ||
Makefile | ||
pcm3008.c | ||
pcm3008.h | ||
ssm2602.c | ||
ssm2602.h | ||
tlv320aic3x.c | ||
tlv320aic3x.h | ||
tlv320aic23.c | ||
tlv320aic23.h | ||
tlv320aic26.c | ||
tlv320aic26.h | ||
twl4030.c | ||
twl4030.h | ||
uda134x.c | ||
uda134x.h | ||
uda1380.c | ||
uda1380.h | ||
wm8350.c | ||
wm8350.h | ||
wm8510.c | ||
wm8510.h | ||
wm8580.c | ||
wm8580.h | ||
wm8728.c | ||
wm8728.h | ||
wm8731.c | ||
wm8731.h | ||
wm8750.c | ||
wm8750.h | ||
wm8753.c | ||
wm8753.h | ||
wm8900.c | ||
wm8900.h | ||
wm8903.c | ||
wm8903.h | ||
wm8971.c | ||
wm8971.h | ||
wm8990.c | ||
wm8990.h | ||
wm9712.c | ||
wm9712.h | ||
wm9713.c | ||
wm9713.h |