Skip to contentSkip to conversation

ASoC: Add WM8776 CODEC driver

PATCH New Mark Brown 1 participant 1 message Aug 6, 2009

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Add WM8776 CODEC driver

The WM8776 is a high performance, stereo audio CODEC with five channel input selector. The WM8776 is ideal for surround sound processing applications for home hi-fi, DVD-RW and other audio visual equipment.

This driver implements support for most WM8776 features - currently the ADC automatic level control/limiter functionality is omitted.

---
 sound/soc/codecs/Kconfig  |    4 +
 sound/soc/codecs/Makefile |    2 +
 sound/soc/codecs/wm8776.c |  781 +++++++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/wm8776.h |   51 +++
 4 files changed, 838 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/codecs/wm8776.c
 create mode 100644 sound/soc/codecs/wm8776.h
sound/soc/codecs/Kconfig +4 -0
index b6c7f7a..8cd24b0 100644
@@ -33,6 +33,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI
 	select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI
 	select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI
+	select SND_SOC_WM8776 if SND_SOC_I2C_AND_SPI
 	select SND_SOC_WM8900 if I2C
 	select SND_SOC_WM8903 if I2C
 	select SND_SOC_WM8971 if I2C
@@ -132,6 +133,9 @@ config SND_SOC_WM8750
 config SND_SOC_WM8753
 	tristate
 
+config SND_SOC_WM8776
+	tristate
+
 config SND_SOC_WM8900
 	tristate
 
sound/soc/codecs/Makefile +2 -0
index f265380..e80f164 100644
@@ -21,6 +21,7 @@ snd-soc-wm8728-objs := wm8728.o
 snd-soc-wm8731-objs := wm8731.o
 snd-soc-wm8750-objs := wm8750.o
 snd-soc-wm8753-objs := wm8753.o
+snd-soc-wm8776-objs := wm8776.o
 snd-soc-wm8900-objs := wm8900.o
 snd-soc-wm8903-objs := wm8903.o
 snd-soc-wm8971-objs := wm8971.o
@@ -52,6 +53,7 @@ obj-$(CONFIG_SND_SOC_WM8728)	+= snd-soc-wm8728.o
 obj-$(CONFIG_SND_SOC_WM8731)	+= snd-soc-wm8731.o
 obj-$(CONFIG_SND_SOC_WM8750)	+= snd-soc-wm8750.o
 obj-$(CONFIG_SND_SOC_WM8753)	+= snd-soc-wm8753.o
+obj-$(CONFIG_SND_SOC_WM8776)	+= snd-soc-wm8776.o
 obj-$(CONFIG_SND_SOC_WM8900)	+= snd-soc-wm8900.o
 obj-$(CONFIG_SND_SOC_WM8903)	+= snd-soc-wm8903.o
 obj-$(CONFIG_SND_SOC_WM8971)	+= snd-soc-wm8971.o
sound/soc/codecs/wm8776.c new file +781 -0

781 lines not on this page · raw message

sound/soc/codecs/wm8776.h new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
1.6.3.3