ASoC: Add initial driver for the WM8400 CODEC

Previous thread: [ARM] Revert futher extraneous changes from the S3C header move by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:10 pm. (1 message)

Next thread: ASoC: Allow choice of ac97 gpio reset line by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:10 pm. (1 message)
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:10 pm

Gitweb:     http://git.kernel.org/linus/aaf1e176fa9a96fe1eea33b710684bba066aedc1
Commit:     aaf1e176fa9a96fe1eea33b710684bba066aedc1
Parent:     5706d5013212c8afcb9fe5332ee6442488280c66
Author:     Mark Brown <broonie@opensource.wolfsonmicro.com>
AuthorDate: Tue Mar 10 10:55:15 2009 +0000
Committer:  Mark Brown <broonie@opensource.wolfsonmicro.com>
CommitDate: Wed Mar 11 13:49:46 2009 +0000

    ASoC: Add initial driver for the WM8400 CODEC
    
    The WM8400 is a highly integrated audio CODEC and power management unit
    intended for mobile multimedia application.  This driver supports the
    primary audio CODEC features, including:
    
     - 1W speaker driver
     - Fully differential headphone output
     - Up to 4 differential microphone inputs
    
    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 include/linux/mfd/wm8400-audio.h |    1 +
 sound/soc/codecs/Kconfig         |    4 +
 sound/soc/codecs/Makefile        |    2 +
 sound/soc/codecs/wm8400.c        | 1479 ++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/wm8400.h        |   62 ++
 5 files changed, 1548 insertions(+), 0 deletions(-)

diff --git a/include/linux/mfd/wm8400-audio.h b/include/linux/mfd/wm8400-audio.h
index b6640e0..e06ed3e 100644
--- a/include/linux/mfd/wm8400-audio.h
+++ b/include/linux/mfd/wm8400-audio.h
@@ -1181,6 +1181,7 @@
 #define WM8400_FLL_OUTDIV_SHIFT                      0  /* FLL_OUTDIV - [2:0] */
 #define WM8400_FLL_OUTDIV_WIDTH                      3  /* FLL_OUTDIV - [2:0] */
 
+struct wm8400;
 void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400);
 
 #endif
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index a1af311..b6c7f7a 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -26,6 +26,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_UDA134X
 	select SND_SOC_UDA1380 if I2C
 	select SND_SOC_WM8350 if MFD_WM8350
+	select SND_SOC_WM8400 if MFD_WM8400
 	select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
 ...
Previous thread: [ARM] Revert futher extraneous changes from the S3C header move by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:10 pm. (1 message)

Next thread: ASoC: Allow choice of ac97 gpio reset line by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:10 pm. (1 message)