diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-08 18:52:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-09 20:34:28 +0200 |
commit | cbd840dadeb03826b6cc074e38f380bbd4faaea5 (patch) | |
tree | e5de2e23bdd6afc14a6b9168f1fd5acdb3f02009 /sound/soc/codecs/arizona.h | |
parent | ASoC: core: Remove pointless error on card registration failure (diff) | |
download | linux-cbd840dadeb03826b6cc074e38f380bbd4faaea5.tar.xz linux-cbd840dadeb03826b6cc074e38f380bbd4faaea5.zip |
ASoC: arizona: Implement OPCLK support
Arizona devices support two output system clocks. Provide support for
configuring these via set_sysclk(). Once the clock API is more useful
we should migrate over to that.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/arizona.h')
-rw-r--r-- | sound/soc/codecs/arizona.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/codecs/arizona.h b/sound/soc/codecs/arizona.h index 59caca8865e8..eb66b52777c9 100644 --- a/sound/soc/codecs/arizona.h +++ b/sound/soc/codecs/arizona.h @@ -17,8 +17,10 @@ #include <sound/soc.h> -#define ARIZONA_CLK_SYSCLK 1 -#define ARIZONA_CLK_ASYNCCLK 2 +#define ARIZONA_CLK_SYSCLK 1 +#define ARIZONA_CLK_ASYNCCLK 2 +#define ARIZONA_CLK_OPCLK 3 +#define ARIZONA_CLK_ASYNC_OPCLK 4 #define ARIZONA_CLK_SRC_MCLK1 0x0 #define ARIZONA_CLK_SRC_MCLK2 0x1 |