diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-08 17:52:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-09 19:34:28 +0100 |
commit | cbd840dadeb03826b6cc074e38f380bbd4faaea5 (patch) | |
tree | e5de2e23bdd6afc14a6b9168f1fd5acdb3f02009 /sound/soc/codecs/arizona.h | |
parent | 28d528c8dbab5c6b3cf2fc4f0e91470a9a63dbc0 (diff) | |
download | op-kernel-dev-cbd840dadeb03826b6cc074e38f380bbd4faaea5.zip op-kernel-dev-cbd840dadeb03826b6cc074e38f380bbd4faaea5.tar.gz |
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 59caca8..eb66b52 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 |