diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-19 23:56:18 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-20 12:41:26 -0400 |
commit | 136ff2a272ad4bee33bf85f8c490ff8a2dd08f96 (patch) | |
tree | 4f8876c8acdb816e432916f5cd8ad84e1533cdd0 /sound/soc/codecs/wm8994.h | |
parent | 4f6f22d7bef77dfb6b27eaed4240784339c546e6 (diff) |
ASoC: Support FLL input clock selection on WM8994
The WM8994 FLL can be clocked from one of four inputs, the two MCLKs and
the LRCLK and BCLK of the AIF associated with the FLL. Allow all four
inputs to be used rather than defaulting to MCLK1.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r-- | sound/soc/codecs/wm8994.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index 79d5915ae4b3..7072dc539354 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h | |||
@@ -23,6 +23,11 @@ extern struct snd_soc_dai wm8994_dai[]; | |||
23 | #define WM8994_FLL1 1 | 23 | #define WM8994_FLL1 1 |
24 | #define WM8994_FLL2 2 | 24 | #define WM8994_FLL2 2 |
25 | 25 | ||
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 | ||
30 | |||
26 | int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, | 31 | int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, |
27 | int micbias, int det, int shrt); | 32 | int micbias, int det, int shrt); |
28 | 33 | ||