aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm9712.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-10-06 18:37:32 +0200
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:00:23 +0100
commit10c5cf30446fe91b7173436b75c4f00dfb4cd9f8 (patch)
treeca3dcc7fc72a1a635bf6f786dc5c5c005cfc7bbb /sound/soc/codecs/wm9712.h
parentabadfc928a27e1cf27c834e8e29e6b1f64ca2d55 (diff)
[ALSA] ASoC codecs: WM9712 support
This patch adds ASoC support for the WM9712 codec. Supported features:- o Capture/Playback/Sidetone/Bypass. o Aux DAC. o 8k - 48k sample rates. o DAPM. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc/codecs/wm9712.h')
-rw-r--r--sound/soc/codecs/wm9712.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm9712.h b/sound/soc/codecs/wm9712.h
new file mode 100644
index 00000000000..719105d61e6
--- /dev/null
+++ b/sound/soc/codecs/wm9712.h
@@ -0,0 +1,14 @@
+/*
+ * wm9712.h -- WM9712 Soc Audio driver
+ */
+
+#ifndef _WM9712_H
+#define _WM9712_H
+
+#define WM9712_DAI_AC97_HIFI 0
+#define WM9712_DAI_AC97_AUX 1
+
+extern struct snd_soc_codec_dai wm9712_dai[2];
+extern struct snd_soc_codec_device soc_codec_dev_wm9712;
+
+#endif