linux/sound/soc/omap
Hebbar Gururaja e2e8bfdf61 ASoC: tlv320aic3x: Convert mic bias to a supply widget
Convert MicBias widgets to supply widget.

On tlv320aic3x, Mic bias power on/off shares the same register bits
with output mic bias voltage.  So, when power on mic bias, we need
reclaim it to voltage value.

Provide a new platform data so that the micbias voltage can be sent
according to board requirement. Now since tlv320aic3x codec driver
is DT aware, update dt files and functions to handle this new
"micbias-vg"  platform data.

Because of sharing of bits, when enabling the micbias, voltage also
needs to be updated. So use SND_SOC_DAPM_POST_PMU & SND_SOC_DAPM_PRE_PMD
macro to create an event to handle this.

Since micbias is converted to supply widget, updated machine drivers as
well.

This change is runtime tested on da850-evm with audio loopback
(arecord|aplay) for confirmation.

Signed-off-by: Hebbar Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-02-04 18:35:19 +00:00
..
am3517evm.c ARM: OMAP: Remove NEED_MACH_GPIO_H 2012-11-02 12:00:36 -07:00
ams-delta.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
Kconfig ASoC: omap-pcm: Convert to use dmaengine 2012-09-22 11:13:02 -04:00
Makefile ASoC: Remove obsolete OMAP3 machine drivers 2012-08-15 17:10:00 +01:00
mcbsp.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
mcbsp.h ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
n810.c ASoC: tlv320aic3x: Convert mic bias to a supply widget 2013-02-04 18:35:19 +00:00
omap3pandora.c ARM: omap: move platform_data definitions 2012-09-19 17:39:52 +02:00
omap-abe-twl6040.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
omap-dmic.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
omap-dmic.h ASoC: OMAP4: omap-dmic: Initial support for OMAP DMIC 2011-11-28 17:21:44 +00:00
omap-hdmi-card.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
omap-hdmi.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
omap-hdmi.h ASoC: OMAP: HDMI: Expand capabilities of the HDMI DAI 2012-05-22 17:33:23 +01:00
omap-mcbsp.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
omap-mcbsp.h ASoC: omap-mcbsp: Remove unused defines 2012-08-22 20:17:11 +01:00
omap-mcpdm.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c Sound updates for 3.8-rc1 2012-12-13 11:51:23 -08:00
omap-pcm.h ASoC: omap-pcm, omap-dmic: Change the use of omap_pcm_dma_data->data_type 2012-09-22 11:13:01 -04:00
omap-twl4030.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
osk5912.c ARM: OMAP: Remove NEED_MACH_GPIO_H 2012-11-02 12:00:36 -07:00
rx51.c ASoC: tlv320aic3x: Convert mic bias to a supply widget 2013-02-04 18:35:19 +00:00
sdp3430.c ARM: OMAP: Remove NEED_MACH_GPIO_H 2012-11-02 12:00:36 -07:00
zoom2.c ASoC: zoom2: Remove HS mux GPIO handling to avoid kernel crash due to BUG_ON() 2012-12-03 17:51:59 +09:00