summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/adau1373.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-08-15 20:15:22 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-17 00:53:54 +0900
commitddd7a26094c93a950f4b2e6b4d5865c93976372e (patch)
treebbeb669c4084483a48c66423e85cbf98e4e6d648 /sound/soc/codecs/adau1373.h
parentf0b182b003e22320efac5a33cacc460e0079c135 (diff)
downloadlinux-ddd7a26094c93a950f4b2e6b4d5865c93976372e.tar.bz2
ASoC: Add ADAU1373 codec support
This patch adds support for the Analog Devices ADAU1373 audio codec. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/adau1373.h')
-rw-r--r--sound/soc/codecs/adau1373.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sound/soc/codecs/adau1373.h b/sound/soc/codecs/adau1373.h
new file mode 100644
index 000000000000..c6ab5530760c
--- /dev/null
+++ b/sound/soc/codecs/adau1373.h
@@ -0,0 +1,29 @@
+#ifndef __ADAU1373_H__
+#define __ADAU1373_H__
+
+enum adau1373_pll_src {
+ ADAU1373_PLL_SRC_MCLK1 = 0,
+ ADAU1373_PLL_SRC_BCLK1 = 1,
+ ADAU1373_PLL_SRC_BCLK2 = 2,
+ ADAU1373_PLL_SRC_BCLK3 = 3,
+ ADAU1373_PLL_SRC_LRCLK1 = 4,
+ ADAU1373_PLL_SRC_LRCLK2 = 5,
+ ADAU1373_PLL_SRC_LRCLK3 = 6,
+ ADAU1373_PLL_SRC_GPIO1 = 7,
+ ADAU1373_PLL_SRC_GPIO2 = 8,
+ ADAU1373_PLL_SRC_GPIO3 = 9,
+ ADAU1373_PLL_SRC_GPIO4 = 10,
+ ADAU1373_PLL_SRC_MCLK2 = 11,
+};
+
+enum adau1373_pll {
+ ADAU1373_PLL1 = 0,
+ ADAU1373_PLL2 = 1,
+};
+
+enum adau1373_clk_src {
+ ADAU1373_CLK_SRC_PLL1 = 0,
+ ADAU1373_CLK_SRC_PLL2 = 1,
+};
+
+#endif