drm/i915: add mappable to gem_object_bind tracepoint
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / sound / soc / codecs / wm8994.h
blobd8dce260c430c31fa7544a63d5202a01aab10566
1 /*
2 * wm8994.h -- WM8994 Soc Audio driver
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef _WM8994_H
10 #define _WM8994_H
12 #include <sound/soc.h>
14 /* Sources for AIF1/2 SYSCLK - use with set_dai_sysclk() */
15 #define WM8994_SYSCLK_MCLK1 1
16 #define WM8994_SYSCLK_MCLK2 2
17 #define WM8994_SYSCLK_FLL1 3
18 #define WM8994_SYSCLK_FLL2 4
20 /* OPCLK is also configured with set_dai_sysclk, specify division*10 as rate. */
21 #define WM8994_SYSCLK_OPCLK 5
23 #define WM8994_FLL1 1
24 #define WM8994_FLL2 2
26 #define WM8994_FLL_SRC_MCLK1 1
27 #define WM8994_FLL_SRC_MCLK2 2
28 #define WM8994_FLL_SRC_LRCLK 3
29 #define WM8994_FLL_SRC_BCLK 4
31 int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
32 int micbias, int det, int shrt);
34 #endif