diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-20 05:56:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-20 18:41:26 +0200 |
commit | 136ff2a272ad4bee33bf85f8c490ff8a2dd08f96 (patch) | |
tree | 4f8876c8acdb816e432916f5cd8ad84e1533cdd0 /sound/soc/codecs/wm8994.h | |
parent | ASoC: da7210: Fencepost error in reg cache read (diff) | |
download | linux-136ff2a272ad4bee33bf85f8c490ff8a2dd08f96.tar.xz linux-136ff2a272ad4bee33bf85f8c490ff8a2dd08f96.zip |
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[]; #define WM8994_FLL1 1 #define WM8994_FLL2 2 +#define WM8994_FLL_SRC_MCLK1 1 +#define WM8994_FLL_SRC_MCLK2 2 +#define WM8994_FLL_SRC_LRCLK 3 +#define WM8994_FLL_SRC_BCLK 4 + int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, int micbias, int det, int shrt); |