diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2009-10-09 08:55:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-09 13:50:37 -0400 |
commit | 493b67efffc462703d583389aca96f850c18d3b3 (patch) | |
tree | b6a682aeeddebaf3ea8071d008f14552416735b4 /sound/soc/codecs/Kconfig | |
parent | 69d2c2ae1dffac5fcd6130e459f250ae035b678f (diff) |
ASoC: TPA6130A2 amplifier driver
Driver for Texas Instruments TPA6130A2 stereo headphone
amplifier.
The driver provides playback gain control and also pre-defined
DAPM_HP widgets and DAPM routings for power management.
The DAPM_HP widget names are:
"TPA6130A2 Headphone Left"
"TPA6130A2 Headphone Right"
From soc machine drivers to use with the tpa6130a2 amplifier,
the tpa6130a2_add_controls has to be called, which adds the alsa
controls and the DAPM routing needed for the tpa6130a2.
After that the machine driver can connect the codec's output
with 'TPA6130A2 Left' and 'TPA6130A2 Right':
{"TPA6130A2 Left", NULL, "CODEC LEFT OUT"},
{"TPA6130A2 Right", NULL, "CODEC RIGHT OUT"},
Internally the left and right channels are powered separately.
When none of the channels are needed the amplifier is powered
down:
hard power: valid GPIO number is passed within platform data
soft power: Using the software shutdown of the amplifier
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 3c46f34928ec..fab01c991828 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig | |||
@@ -29,6 +29,7 @@ config SND_SOC_ALL_CODECS | |||
29 | select SND_SOC_TLV320AIC23 if I2C | 29 | select SND_SOC_TLV320AIC23 if I2C |
30 | select SND_SOC_TLV320AIC26 if SPI_MASTER | 30 | select SND_SOC_TLV320AIC26 if SPI_MASTER |
31 | select SND_SOC_TLV320AIC3X if I2C | 31 | select SND_SOC_TLV320AIC3X if I2C |
32 | select SND_SOC_TPA6130A2 if I2C | ||
32 | select SND_SOC_TWL4030 if TWL4030_CORE | 33 | select SND_SOC_TWL4030 if TWL4030_CORE |
33 | select SND_SOC_UDA134X | 34 | select SND_SOC_UDA134X |
34 | select SND_SOC_UDA1380 if I2C | 35 | select SND_SOC_UDA1380 if I2C |
@@ -228,3 +229,6 @@ config SND_SOC_WM9713 | |||
228 | # Amp | 229 | # Amp |
229 | config SND_SOC_MAX9877 | 230 | config SND_SOC_MAX9877 |
230 | tristate | 231 | tristate |
232 | |||
233 | config SND_SOC_TPA6130A2 | ||
234 | tristate | ||