aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ad193x.h
diff options
context:
space:
mode:
authorBarry Song <21cnbao@gmail.com>2010-05-20 23:57:01 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-21 12:23:49 -0400
commitfab90aa4cf2330f15bba5218d5d633c1044bddd3 (patch)
tree7f6b305504338de620f2f789fad976fe069e6b2d /sound/soc/codecs/ad193x.h
parent669be070ef71f7e22644f96655846a607d1f9180 (diff)
ASoC: ad193x: add set_sysclk entry to support different clock input
Signed-off-by: Barry Song <21cnbao@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ad193x.h')
-rw-r--r--sound/soc/codecs/ad193x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/ad193x.h b/sound/soc/codecs/ad193x.h
index a03c880d52f9..654ba64ae04c 100644
--- a/sound/soc/codecs/ad193x.h
+++ b/sound/soc/codecs/ad193x.h
@@ -11,6 +11,11 @@
11 11
12#define AD193X_PLL_CLK_CTRL0 0x800 12#define AD193X_PLL_CLK_CTRL0 0x800
13#define AD193X_PLL_POWERDOWN 0x01 13#define AD193X_PLL_POWERDOWN 0x01
14#define AD193X_PLL_INPUT_MASK (~0x6)
15#define AD193X_PLL_INPUT_256 (0 << 1)
16#define AD193X_PLL_INPUT_384 (1 << 1)
17#define AD193X_PLL_INPUT_512 (2 << 1)
18#define AD193X_PLL_INPUT_768 (3 << 1)
14#define AD193X_PLL_CLK_CTRL1 0x801 19#define AD193X_PLL_CLK_CTRL1 0x801
15#define AD193X_DAC_CTRL0 0x802 20#define AD193X_DAC_CTRL0 0x802
16#define AD193X_DAC_POWERDOWN 0x01 21#define AD193X_DAC_POWERDOWN 0x01