summaryrefslogtreecommitdiffstats
path: root/sound/soc/jz4740/jz4740-i2s.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-06-19 16:50:37 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-06-23 01:08:06 +0200
commit11bd3dd1b7c299815dbedef0982220f239425ae8 (patch)
tree967e3441cb36ebd56426fb7cf2d1c91724d7a13a /sound/soc/jz4740/jz4740-i2s.h
parentASoC: Fix sorting of DA7210 entries in Kconfig (diff)
downloadlinux-11bd3dd1b7c299815dbedef0982220f239425ae8.tar.xz
linux-11bd3dd1b7c299815dbedef0982220f239425ae8.zip
ASoC: Add JZ4740 ASoC support
This patch adds ASoC support for JZ4740 SoCs I2S module. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/jz4740/jz4740-i2s.h')
-rw-r--r--sound/soc/jz4740/jz4740-i2s.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sound/soc/jz4740/jz4740-i2s.h b/sound/soc/jz4740/jz4740-i2s.h
new file mode 100644
index 000000000000..da22ed88a589
--- /dev/null
+++ b/sound/soc/jz4740/jz4740-i2s.h
@@ -0,0 +1,18 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _JZ4740_I2S_H
+#define _JZ4740_I2S_H
+
+/* I2S clock source */
+#define JZ4740_I2S_CLKSRC_EXT 0
+#define JZ4740_I2S_CLKSRC_PLL 1
+
+#define JZ4740_I2S_BIT_CLK 0
+
+extern struct snd_soc_dai jz4740_i2s_dai;
+
+#endif